File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
ui/src/components/Namespace Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11<template >
22 <v-dialog v-model =" model" @click:outside =" close" :max-width =" dialogMaxWidth" >
33 <v-card data-test =" namespaceAdd-card" class =" bg-v-theme-surface rounded" rounded >
4- <template v-if =" ! openVersion " >
4+ <template v-if =" ! isCommunityVersion " >
55 <v-card-title class =" bg-primary d-flex justify-space-between align-center text-h5 pa-4" >
66 New Namespace
77 <v-btn
@@ -80,7 +80,7 @@ import { envVariables } from "@/envVariables";
8080const store = useStore ();
8181const snackbar = useSnackbar ();
8282const model = defineModel ({ default: false });
83- const openVersion = computed (() => envVariables .isCommunity );
83+ const isCommunityVersion = computed (() => envVariables .isCommunity );
8484
8585// Validation schema for namespace name
8686const namespaceSchema = yup
@@ -99,7 +99,7 @@ const {
9999 meta : fieldMeta,
100100} = useField <string >(" namespaceName" , namespaceSchema , { initialValue: " " });
101101
102- const dialogMaxWidth = computed (() => (! openVersion .value ? " 500" : " 650" ));
102+ const dialogMaxWidth = computed (() => (! isCommunityVersion .value ? " 500" : " 650" ));
103103
104104// Close the dialog and reset the form
105105const close = () => {
You can’t perform that action at this time.
0 commit comments