Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: show all issue filter tabs regardless of the plan (#9486)
Danny Xu3e3939701195
diff --git a/frontend/src/views/Home.vue b/frontend/src/views/Home.vueindex 55ed4b51dc..1b9e60e3c2 100644--- a/frontend/src/views/Home.vue+++ b/frontend/src/views/Home.vue@@ -130,7 +130,6 @@ import { TabFilter, TabFilterItem } from "@/components/v2";import {useSubscriptionV1Store,useOnboardingStateStore,- featureToRef,useCurrentUserV1,} from "@/store";import { planTypeToString } from "@/types";@@ -188,26 +187,19 @@ const state = reactive<LocalState>({});const me = useCurrentUserV1();-const hasCustomApprovalFeature = featureToRef("bb.feature.custom-approval");const tabItemList = computed((): TabFilterItem<TabValue>[] => {- const items: TabFilterItem<TabValue>[] = [];- items.push(+ return [{ value: "CREATED", label: t("common.created") },- { value: "ASSIGNED", label: t("common.assigned") }- );- if (hasCustomApprovalFeature.value) {- items.push({+ { value: "ASSIGNED", label: t("common.assigned") },+ {value: "APPROVAL_REQUESTED",label: t("issue.approval-requested"),- });- }- items.push(+ },{ value: "WAITING_ROLLOUT", label: t("issue.waiting-rollout") },{ value: "SUBSCRIBED", label: t("common.subscribed") },- { value: "ALL", label: t("common.all") }- );- return items;+ { value: "ALL", label: t("common.all") },+ ];});const tab = useLocalStorage<TabValue>("bb.home.issue-list-tab",@@ -320,11 +312,8 @@ const mergeUIIssueFilterByTab = (tab: TabValue) => {};watch(- [hasCustomApprovalFeature, tab],+ [tab],() => {- if (!hasCustomApprovalFeature.value && tab.value === "APPROVAL_REQUESTED") {- tab.value = "WAITING_ROLLOUT";- }if (tab.value === "APPROVAL_REQUESTED" || tab.value === "WAITING_ROLLOUT") {if (getValueFromSearchParams(state.params, "status") === "CLOSED") {upsertScope(