Browse Source

chore: add quick TODO to check later

Kristian Vos 1 tháng trước cách đây
mục cha
commit
d2b1916851
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      frontend/src/components/modals/EditSong/index.vue

+ 1 - 0
frontend/src/components/modals/EditSong/index.vue

@@ -1169,6 +1169,7 @@ watch(
 	() => drawCanvas()
 );
 watch(mediaSource, (_mediaSource, _oldMediaSource) => {
+	// TODO double-check if mediaSource can be watched without .value
 	if (_oldMediaSource) unloadSong(_oldMediaSource);
 	if (_mediaSource) loadSong(_mediaSource, true);
 });