Browse Source

fix: fixed weird Vue bug that only happened in EditPlaylist, in production mode, with christmas mode enabled

Kristian Vos 1 year ago
parent
commit
48f9ec6db9
1 changed files with 3 additions and 1 deletions
  1. 3 1
      frontend/src/components/Modal.vue

+ 3 - 1
frontend/src/components/Modal.vue

@@ -41,7 +41,9 @@ onMounted(async () => {
 				<span class="delete material-icons" @click="closeCurrentModal()"
 					>highlight_off</span
 				>
-				<christmas-lights v-if="christmas" small :lights="5" />
+				<Transition>
+					<christmas-lights v-if="christmas" small :lights="5" />
+				</Transition>
 			</header>
 			<section class="modal-card-body">
 				<slot name="body" />