Sfoglia il codice sorgente

Redirect to single bubble page on non-sage networks

pull/8/head
Kristijan Mitrovic 4 anni fa
parent
commit
09c602397b
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. +3
    -1
      src/account/NetworksPage.vue

+ 3
- 1
src/account/NetworksPage.vue Vedi File

@@ -41,9 +41,11 @@
export default {
computed: {
...mapState('networks', ['networks']),
...mapState('system', ['messages'])
...mapState('system', ['messages', 'configs'])
},
created () {
if (!this.configs.sageLauncher) { this.$router.replace({ path: '/bubble/' + this.configs.networkUuid }); }

const user = util.currentUser();
const selectedLocale = (user !== null && typeof user.locale !== 'undefined' && user.locale !== null ? user.locale : 'detect');
this.getAllNetworks({userId: user.uuid, messages: this.messages, errors: this.errors});


Caricamento…
Annulla
Salva