Skip to content

Commit

Permalink
Add subs
Browse files Browse the repository at this point in the history
  • Loading branch information
ingalls committed Feb 15, 2024
1 parent 945561d commit dbf7094
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/web/src/stores/subscription.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import pointOnFeature from '@turf/point-on-feature';
export const useSubStore = defineStore('subscriptions', {
state: () => {
return {
initialized: false
initialized: false,
subscriptions: [],
}
},
Expand All @@ -19,7 +19,7 @@ export const useSubStore = defineStore('subscriptions', {
},
subscribe: async function() {
if (!this.initialized) await this.list();
}
},
unsubscribe: async function() {
if (!this.initialized) await this.list();
}
Expand Down

0 comments on commit dbf7094

Please sign in to comment.