mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-04-30 07:49:41 -05:00
Set up reflex and fix make watch
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
import 'regenerator-runtime/runtime'
|
||||
import SettingsApp from './components/SettingsApp.vue'
|
||||
import store from './store'
|
||||
|
||||
const appInfo = {
|
||||
name: 'Settings',
|
||||
id: 'settings',
|
||||
icon: 'gear',
|
||||
icon: 'info',
|
||||
isFileEditor: false,
|
||||
extensions: [],
|
||||
config: {
|
||||
|
||||
@@ -7,23 +7,12 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { mapActions, mapGetters } from 'vuex';
|
||||
export default {
|
||||
name: 'SettingsApp',
|
||||
computed: {
|
||||
...mapGetters({
|
||||
settingsBundles: 'Settings/settingsBundles'
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
...mapActions('Settings', [
|
||||
'fetchSettingsBundles'
|
||||
])
|
||||
},
|
||||
mounted () {
|
||||
this.fetchSettingsBundles().then(() => {
|
||||
console.log(this.settingsBundles);
|
||||
});
|
||||
async mounted () {
|
||||
const settingsBundles = await this.$store.dispatch('Settings/fetchSettingsBundles')
|
||||
console.log(settingsBundles)
|
||||
console.log("test")
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user