Mercurial > gemma
diff client/src/components/systemconfiguration/Systemconfiguration.vue @ 3680:0300282b9537
client: configuration: changed loading strategy
Only load configuration values from backend when entering the main/map view or systemconfiguration page
author | Markus Kottlaender <markus@intevation.de> |
---|---|
date | Tue, 18 Jun 2019 12:02:18 +0200 |
parents | a688a478e35f |
children | 851c0ccba59b |
line wrap: on
line diff
--- a/client/src/components/systemconfiguration/Systemconfiguration.vue Mon Jun 17 18:45:48 2019 +0200 +++ b/client/src/components/systemconfiguration/Systemconfiguration.vue Tue Jun 18 12:02:18 2019 +0200 @@ -48,6 +48,9 @@ systemconfigurationLabel() { return this.$gettext("Systemconfiguration"); } + }, + mounted() { + this.$store.dispatch("application/loadConfig"); } }; </script>