small fixes

This commit is contained in:
vadim committed 2026-10-18 20:07:21 +03:00
1 parent 6af9993c4f
commit cc490f8d4a
2 files changed
+15 -4

No files matched your search

+7 -2
View File
@@ -28,6 +28,10 @@ const onCreate = async () => {
newIssue.title = ''
showForm.value = false
}
const onCancel = () => {
showForm.value = false
}
</script>
<template>
@@ -54,15 +58,16 @@ const onCreate = async () => {
placeholder="Describe your issue"
autofocus
@keyup.enter="onCreate"
@keyup.esc="onCancel"
/>
<v-btn density="compact" variant="tonal" text="Create" @click="onCreate" />
<v-btn density="compact" variant="text" icon="mdi-close" @click="showForm = false" />
<v-btn density="compact" variant="text" icon="mdi-close" @click="onCancel" />
</div>
</template>
</v-list-item>
<v-list-item v-else-if="showForm && !current">
<div>
<v-alert closable density="compact" @click:close="showForm = false">
<v-alert closable density="compact" @click:close="onCancel">
Select or create project
<router-link class="text-decoration-none text-link text-capitalize" to="/settings/projects">HERE</router-link>.
</v-alert>