Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
hvangeffen committed Jan 30, 2025
1 parent f511ca2 commit a41b635
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 5 additions & 1 deletion src/components/general/DashboardDisplay.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@
>
<!-- TODO: For now we only support one item per element -->
<!-- to prevent UI clutter. -->
<DashboardItem v-if="element.items" :item="element.items[0]" :settings />
<DashboardItem
v-if="element.items"
:item="element.items[0]"
:settings
/>
</v-card>
</template>
</template>
Expand Down
6 changes: 3 additions & 3 deletions src/components/general/DashboardItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ function convertItemToComponentItem(item: WebOCDashboardItem) {
}
function getComponentSettingsForItem(item: WebOCDashboardItem) {
const settings = item.componentSettingsId
? componentSettingsStore.getSettingsById(item.componentSettingsId)
: undefined
const settings = item.componentSettingsId
? componentSettingsStore.getSettingsById(item.componentSettingsId)
: undefined
const componentSettings = getSettings(settings, item.component)
// If dashboard has a shared date time slider,
Expand Down

0 comments on commit a41b635

Please sign in to comment.