refactor: move event handler to its parent

This commit is contained in:
Methapon2001 2024-07-05 09:39:10 +07:00
parent f8ec82626c
commit fabadd5b8e

View file

@ -519,11 +519,6 @@ watch(locale, () => {
dense dense
id="hq-add-btn" id="hq-add-btn"
class="q-mr-sm" class="q-mr-sm"
>
<Icon
icon="pixelarticons:plus"
class="cursor-pointer"
style="color: var(--foreground); scale: 1.5"
@click=" @click="
() => { () => {
if (!currentHq.id) { if (!currentHq.id) {
@ -537,6 +532,11 @@ watch(locale, () => {
} }
} }
" "
>
<Icon
icon="pixelarticons:plus"
class="cursor-pointer"
style="color: var(--foreground); scale: 1.5"
/> />
</q-btn> </q-btn>
</div> </div>