wallet icon dialog
This commit is contained in:
@@ -8,9 +8,17 @@
|
|||||||
icon="edit"
|
icon="edit"
|
||||||
style="position: relative; left: -15px; bottom: -10px"
|
style="position: relative; left: -15px; bottom: -10px"
|
||||||
></q-btn>
|
></q-btn>
|
||||||
<q-dialog v-model="icon.show" position="top">
|
<lnbits-dialog
|
||||||
<q-card class="q-pa-lg q-pt-xl lnbits__dialog-card">
|
:show="icon.show"
|
||||||
<q-form @submit="setIcon" class="q-gutter-md">
|
:action="{
|
||||||
|
handler: setIcon,
|
||||||
|
label: 'Save Icon',
|
||||||
|
disable: !icon.data.icon
|
||||||
|
}"
|
||||||
|
@update:show="icon.show = $event"
|
||||||
|
@hide="icon.data = {}"
|
||||||
|
>
|
||||||
|
<q-form class="q-gutter-md">
|
||||||
<div class="q-gutter-sm q-pa-sm flex flex-wrap justify-center">
|
<div class="q-gutter-sm q-pa-sm flex flex-wrap justify-center">
|
||||||
<q-btn
|
<q-btn
|
||||||
v-for="(thisIcon, index) in icon.options"
|
v-for="(thisIcon, index) in icon.options"
|
||||||
@@ -41,16 +49,7 @@
|
|||||||
class="q-mr-xs"
|
class="q-mr-xs"
|
||||||
></q-btn>
|
></q-btn>
|
||||||
</div>
|
</div>
|
||||||
<q-btn
|
|
||||||
unelevated
|
|
||||||
color="primary"
|
|
||||||
:disable="!icon.data.icon"
|
|
||||||
type="submit"
|
|
||||||
>
|
|
||||||
Save Icon
|
|
||||||
</q-btn>
|
|
||||||
</div>
|
</div>
|
||||||
</q-form>
|
</q-form>
|
||||||
</q-card>
|
</lnbits-dialog>
|
||||||
</q-dialog>
|
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user