From 677f0eea4ef72c807f24a15271a045792e9402bd Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Sat, 16 Oct 2021 20:34:31 +0100 Subject: [PATCH] :construction: Able to display form data from schema --- src/components/InteractiveEditor/EditItem.vue | 65 +++++++++++++++++-- src/components/LinkItems/Item.vue | 8 ++- 2 files changed, 64 insertions(+), 9 deletions(-) diff --git a/src/components/InteractiveEditor/EditItem.vue b/src/components/InteractiveEditor/EditItem.vue index 5849a1f4..a35b0ff9 100644 --- a/src/components/InteractiveEditor/EditItem.vue +++ b/src/components/InteractiveEditor/EditItem.vue @@ -2,18 +2,29 @@ - Item Editor - +

Edit Item

+
+
+ +
+
- diff --git a/src/components/LinkItems/Item.vue b/src/components/LinkItems/Item.vue index d2c90309..e499ac49 100644 --- a/src/components/LinkItems/Item.vue +++ b/src/components/LinkItems/Item.vue @@ -40,7 +40,7 @@ @launchItem="launchItem" @openItemSettings="openItemSettings" /> - + @@ -226,6 +226,10 @@ export default { this.$modal.show(modalNames.EDIT_ITEM); this.$store.commit(StoreKeys.SET_MODAL_OPEN, true); }, + /* Ensure conditional is updated, once menu closed */ + closeEditMenu() { + this.editMenuOpen = false; + }, /* Used for smart-sort when sorting items by most used apps */ incrementMostUsedCount(itemId) { const mostUsed = JSON.parse(localStorage.getItem(localStorageKeys.MOST_USED) || '{}'); @@ -298,7 +302,7 @@ export default { /* Text in tile */ .tile-title { white-space: nowrap; - overflow: hidden; + // overflow: hidden; text-overflow: ellipsis; min-width: 120px; height: 30px;