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) => {
>
{{ data.item.name }}
+
diff --git a/resources/js/admin/devlink/components/Instance.vue b/resources/js/admin/devlink/components/Instance.vue
index 7a130aa3ec..0e8c464f71 100644
--- a/resources/js/admin/devlink/components/Instance.vue
+++ b/resources/js/admin/devlink/components/Instance.vue
@@ -66,7 +66,10 @@ const load = () => {
ProcessMaker.apiClient
.get(`/devlink/${route.params.id}/remote-bundles?filter=${filter.value}`)
.then((result) => {
- bundles.value = result.data.data;
+ bundles.value = result.data.data.filter(bundle =>{
+ // Do not show remote bundles
+ return bundle.dev_link_id === null;
+ });
loading.value = false;
});
};