This commit is contained in:
Sirttas committed 2023-10-23 19:21:55 +02:00
1 parent 7d608c19e7
commit ac6c51a714
1 file changed
+1 -1
+1 -1
View File
@@ -31,7 +31,7 @@ export const useMarketScanStore = defineStore(marketScans, () => {
marketScan.value = await pb.collection(marketScans).create({ owner: pb.authStore.model!.id, types }); marketScan.value = await pb.collection(marketScans).create({ owner: pb.authStore.model!.id, types });
} }
} }
watchCollection<MarketScan>(marketScans, '*', data => { watchCollection<MarketScan>(marketScans, '*', data => {
if (data.action === 'delete') { if (data.action === 'delete') {
marketScan.value = undefined; marketScan.value = undefined;