New Backend changes
This commit is contained in:
8
app.vue
8
app.vue
@@ -1,12 +1,7 @@
|
||||
<script setup>
|
||||
import * as Sentry from "@sentry/browser"
|
||||
|
||||
const supabase = useSupabaseClient()
|
||||
const user = useSupabaseUser()
|
||||
const route = useRoute()
|
||||
const tenants = (await supabase.from("tenants").select()).data
|
||||
const dataStore = useDataStore()
|
||||
const viewport = useViewport()
|
||||
|
||||
|
||||
/*watch(viewport.breakpoint, (newBreakpoint, oldBreakpoint) => {
|
||||
console.log('Breakpoint updated:', oldBreakpoint, '->', newBreakpoint)
|
||||
@@ -70,7 +65,6 @@ useSeoMeta({
|
||||
<UNotifications :class="platform === 'mobile' ? ['mb-14'] : []"/>
|
||||
<USlideovers />
|
||||
<UModals/>
|
||||
<VitePwaManifest/>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ const auth = useAuthStore()
|
||||
|
||||
const setupPage = async () => {
|
||||
//TODO: BACKEND CHANGE Migrate to auth_users for profile
|
||||
openTasks.value = (await useEntities("tasks").select().filter(i => !i.archived && i.user_id === auth.user.id))
|
||||
openTasks.value = (await useEntities("tasks").select()).filter(i => !i.archived && i.user_id === auth.user.id)
|
||||
}
|
||||
|
||||
setupPage()
|
||||
|
||||
Reference in New Issue
Block a user