refactor: move event handler to its parent
This commit is contained in:
parent
f8ec82626c
commit
fabadd5b8e
1 changed files with 13 additions and 13 deletions
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue