diff --git a/components/i/Create.vue b/components/i/Create.vue index 632c938538d131f18275ec913799bba803acaeb0..ddbfc172804ca4ca5508ea761fce6dcff28fa471 100644 --- a/components/i/Create.vue +++ b/components/i/Create.vue @@ -16,13 +16,14 @@ />
- + +
- + @@ -90,7 +92,7 @@ const cardUI = { const menuUI = { width: 'w-auto' } -const isInternet = ref(true) +const isPro = ref(true) const handleSearch = async () => { if (loading.value || query.value === '') return @@ -143,12 +145,13 @@ defineShortcuts({ meta_o: { usingInput: 'createInput', handler: () => { - handleToggleInternet() + handleTogglePro() } } }) -function handleToggleInternet () { - isInternet.value = !isInternet.value +function handleTogglePro () { + isPro.value = !isPro.value + if (!isPro.value) handleClearRepo() }