From 37cb2493234a3dc9bd619151245379a2c8326eb0 Mon Sep 17 00:00:00 2001 From: John Obelenus Date: Wed, 10 Jul 2024 16:26:27 -0400 Subject: [PATCH] Feat: add filter for editing assets --- app/web/src/components/AssetListPanel.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/web/src/components/AssetListPanel.vue b/app/web/src/components/AssetListPanel.vue index 3259bce1d6..06b71c494e 100644 --- a/app/web/src/components/AssetListPanel.vue +++ b/app/web/src/components/AssetListPanel.vue @@ -254,6 +254,7 @@ const onExport = () => exportSuccessModalRef.value?.open(); const filters = computed(() => [ assetList.value.filter((a) => a.canContribute), assetList.value.filter((a) => a.canUpdate), + assetList.value.filter((a) => !a.isLocked), ]); const searchFiltersWithCounts = computed(() => { @@ -270,6 +271,12 @@ const searchFiltersWithCounts = computed(() => { iconName: "code-deployed", count: filters.value[1]?.length, }, + { + name: "Editing Assets", + iconTone: "action", + iconName: "sliders-vertical", + count: filters.value[2]?.length, + }, ]; return searchFilters; });