File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
ui/src/components/Namespace Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 6868</template >
6969
7070<script setup lang="ts">
71- import { computed , ref } from " vue" ;
71+ import { computed } from " vue" ;
7272import { useField } from " vee-validate" ;
7373import * as yup from " yup" ;
7474import axios , { AxiosError } from " axios" ;
7575import { useStore } from " @/store" ;
7676import handleError from " @/utils/handleError" ;
7777import useSnackbar from " @/helpers/snackbar" ;
78+ import { envVariables } from " @/envVariables" ;
7879
7980const store = useStore ();
8081const snackbar = useSnackbar ();
8182const model = defineModel ({ default: false });
82- const openVersion = ref ( false );
83+ const openVersion = computed (() => envVariables . isCommunity );
8384
8485// Validation schema for namespace name
8586const namespaceSchema = yup
You can’t perform that action at this time.
0 commit comments