New Backend changes

This commit is contained in:
2025-09-07 19:04:39 +02:00
parent 42edd626fd
commit 45741a6295
2 changed files with 2 additions and 8 deletions

View File

@@ -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>

View File

@@ -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()