Selaa lähdekoodia

Redirect to single bubble page on non-sage networks

pull/8/head
Kristijan Mitrovic 4 vuotta sitten
vanhempi
commit
09c602397b
1 muutettua tiedostoa jossa 3 lisäystä ja 1 poistoa
  1. +3
    -1
      src/account/NetworksPage.vue

+ 3
- 1
src/account/NetworksPage.vue Näytä tiedosto

@@ -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});


Ladataan…
Peruuta
Tallenna