Skip to content

Commit c95134a

Browse files
luannmoreiragustavosbarreto
authored andcommitted
chore(ui): change openVersion variable name to isCommunityVersion
1 parent b6687e4 commit c95134a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ui/src/components/Namespace/NamespaceAdd.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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";
8080
const store = useStore();
8181
const snackbar = useSnackbar();
8282
const model = defineModel({ default: false });
83-
const openVersion = computed(() => envVariables.isCommunity);
83+
const isCommunityVersion = computed(() => envVariables.isCommunity);
8484
8585
// Validation schema for namespace name
8686
const 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
105105
const close = () => {

0 commit comments

Comments
 (0)