From e7586250816b59910b8ff08807868a506c95b27c Mon Sep 17 00:00:00 2001 From: Nolan Ehrstrom Date: Thu, 31 Oct 2024 11:40:47 -0700 Subject: [PATCH 1/5] Show lock icon on remote bundle assets --- resources/js/admin/devlink/components/BundleAssets.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/resources/js/admin/devlink/components/BundleAssets.vue b/resources/js/admin/devlink/components/BundleAssets.vue index eef11d8e13..316ddfa6c6 100644 --- a/resources/js/admin/devlink/components/BundleAssets.vue +++ b/resources/js/admin/devlink/components/BundleAssets.vue @@ -50,6 +50,10 @@ const computedFields = computed(() => { return fields.filter(field => field.key !== 'menu'); }); +const isLocal = computed(() => { + return bundle.value.dev_link_id === null; +}); + const loadAssets = async () => { loading.value = true; const response = await window.ProcessMaker.apiClient.get(`/api/1.0/devlink/local-bundles/${bundleId}`); @@ -126,6 +130,7 @@ const remove = async (asset) => { >