Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- computed: {
- saved_queries() { return this.$store.state.list.saved_queries || [] },
- },
- async mounted() {
- if(!this.$store.state.listed.saved_queries) {
- try {
- await this.$store.dispatch('list', { field: 'saved_queries' })
- }
- catch(e) {
- this.error = e.body || 'Unexpected Error'
- }
- }
- this.showContent = true
- this.loading = false
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement