Skip to content

Commit ef098aa

Browse files
luizhf42gustavosbarreto
authored andcommitted
fix(ui): don't show NamespaceInstructions in Admin Console
1 parent 0b64ec2 commit ef098aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/components/Namespace/Namespace.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ const {
139139
const { mdAndDown, thresholds } = useDisplay();
140140
141141
const showAddDialog = ref(false);
142-
const showAddNamespaceInstructions = computed(() => namespacesLoaded.value && !hasNamespaces.value);
142+
const showAddNamespaceInstructions = computed(() => namespacesLoaded.value && !hasNamespaces.value && !props.isAdminContext);
143143
const userId = computed(() => authStore.id || localStorage.getItem("id") || "");
144144
145145
const showAdminButton = computed(() => {

0 commit comments

Comments
 (0)