From c23830ff40a278ab058daf3625ac14fbed6bf5c3 Mon Sep 17 00:00:00 2001 From: Ramon Wenger Date: Thu, 15 Sep 2022 16:16:25 +0200 Subject: [PATCH] Mark new technical debt with some todo comments --- client/src/components/ContentBlock.vue | 2 ++ client/src/components/content-blocks/InstrumentWidget.vue | 1 + client/src/components/instruments/FilterEntry.vue | 3 +++ client/src/components/instruments/InstrumentEntry.vue | 1 + 4 files changed, 7 insertions(+) diff --git a/client/src/components/ContentBlock.vue b/client/src/components/ContentBlock.vue index b00c39a1..77cd254f 100644 --- a/client/src/components/ContentBlock.vue +++ b/client/src/components/ContentBlock.vue @@ -134,6 +134,7 @@ isInstrumentBlock() { return !!this.contentBlock.instrumentCategory; }, + // todo: use dynamic css class with v-bind once we're on Vue 3: https://vuejs.org/api/sfc-css-features.html#v-bind-in-css instrumentStyle() { if (this.isInstrumentBlock) { return { @@ -152,6 +153,7 @@ } return ''; }, + // todo: use dynamic css class with v-bind once we're on Vue 3: https://vuejs.org/api/sfc-css-features.html#v-bind-in-css instrumentLabelStyle() { if (this.isInstrumentBlock) { return { diff --git a/client/src/components/content-blocks/InstrumentWidget.vue b/client/src/components/content-blocks/InstrumentWidget.vue index f33c8d4c..f199d9d9 100644 --- a/client/src/components/content-blocks/InstrumentWidget.vue +++ b/client/src/components/content-blocks/InstrumentWidget.vue @@ -18,6 +18,7 @@