From 08c8796f1bf480040c25c6b25ad0e3285b852720 Mon Sep 17 00:00:00 2001 From: Ben Straub Date: Thu, 29 Aug 2024 10:57:23 -0700 Subject: [PATCH 1/5] Move moverow into a directory --- .../vue/components/{ => move}/sf-moverow.vue | 27 ++++++++++--------- .../vue/components/sf-move-category-rows.vue | 2 +- .../vue/components/sf-movesheetmoves.vue | 2 +- src/module/vue/components/site/site-moves.vue | 2 +- 4 files changed, 17 insertions(+), 16 deletions(-) rename src/module/vue/components/{ => move}/sf-moverow.vue (88%) diff --git a/src/module/vue/components/sf-moverow.vue b/src/module/vue/components/move/sf-moverow.vue similarity index 88% rename from src/module/vue/components/sf-moverow.vue rename to src/module/vue/components/move/sf-moverow.vue index e6c0bc6a6..cce3682e3 100644 --- a/src/module/vue/components/sf-moverow.vue +++ b/src/module/vue/components/move/sf-moverow.vue @@ -77,20 +77,21 @@ diff --git a/src/module/vue/components/move/move-content.vue b/src/module/vue/components/move/move-content.vue new file mode 100644 index 000000000..f447a5844 --- /dev/null +++ b/src/module/vue/components/move/move-content.vue @@ -0,0 +1,71 @@ + + + + + diff --git a/src/module/vue/components/move/sf-moverow.vue b/src/module/vue/components/move/sf-moverow.vue index cce3682e3..2803ec5c3 100644 --- a/src/module/vue/components/move/sf-moverow.vue +++ b/src/module/vue/components/move/sf-moverow.vue @@ -5,7 +5,7 @@ class="movesheet-row" :class="$style.wrapper" data-tooltip-direction="LEFT" - :base-id="`move_row_${item._id}`" + :base-id="`move_row_${move.uuid}`" :content-wrapper-class="$style.contentWrapper" :toggle-wrapper-is="`h${headingLevel}`" :toggle-section-class="[$style.toggleSection, toggleSectionClass]" @@ -15,8 +15,7 @@ :toggle-wrapper-class="$style.toggleWrapper" :toggle-label="move?.displayName" :data-highlighted="dataHighlight" - :data-move-id="item._id" - :data-move-uuid="$item.uuid" + :data-move-uuid="move.uuid" >