fix: various

This commit is contained in:
mertmit
2026-01-23 08:34:16 +00:00
parent c541ab3a3e
commit 3d635c6ae2

View File

@@ -1,5 +1,5 @@
<script setup lang="ts">
const { base } = storeToRefs(useBase())
const { base, isManagedAppMaster } = storeToRefs(useBase())
const { $api } = useNuxtApp()
const isModalVisible = ref(false)
@@ -8,8 +8,6 @@ const initialTab = ref<'publish' | 'fork' | 'deployments' | undefined>(undefined
const managedApp = ref<any>(null)
const currentVersion = ref<any>(null)
const isManagedAppMaster = computed(() => !!(base.value as any)?.managed_app_master && !!(base.value as any)?.managed_app_id)
// Load managed app info and current version
const loadManagedApp = async () => {
if (!(base.value as any)?.managed_app_id || !base.value?.fk_workspace_id) return