mirror of
https://github.com/Lissy93/dashy.git
synced 2025-07-21 20:54:54 +02:00
⚡ Add attribute for isNew to section form, to determine if editing existing
This commit is contained in:
parent
f624dba4f9
commit
e6a607572e
@ -12,7 +12,7 @@
|
|||||||
@openContextMenu="openContextMenu"
|
@openContextMenu="openContextMenu"
|
||||||
>
|
>
|
||||||
<!-- If no items, show message -->
|
<!-- If no items, show message -->
|
||||||
<div v-if="!items || items.length < 1" class="no-items">
|
<div v-if="(!items || items.length < 1) && !isEditMode" class="no-items">
|
||||||
No Items to Show Yet
|
No Items to Show Yet
|
||||||
</div>
|
</div>
|
||||||
<!-- Item Container -->
|
<!-- Item Container -->
|
||||||
@ -69,6 +69,7 @@
|
|||||||
v-if="editMenuOpen"
|
v-if="editMenuOpen"
|
||||||
@closeEditSection="closeEditSection"
|
@closeEditSection="closeEditSection"
|
||||||
:sectionIndex="index"
|
:sectionIndex="index"
|
||||||
|
:isAddNew="false"
|
||||||
/>
|
/>
|
||||||
<!-- Right-click item options context menu -->
|
<!-- Right-click item options context menu -->
|
||||||
<ContextMenu
|
<ContextMenu
|
||||||
|
Loading…
x
Reference in New Issue
Block a user