Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@
let idTitle: string | undefined
let title: string | undefined

$: navItem.type === 'legacy' &&

Check warning on line 37 in plugins/inbox-resources/src/components/InboxCardTitle.svelte

View workflow job for this annotation

GitHub Actions / formatting

Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
doc &&

Check warning on line 38 in plugins/inbox-resources/src/components/InboxCardTitle.svelte

View workflow job for this annotation

GitHub Actions / formatting

Unexpected nullable object value in conditional. An explicit null check is required
getDocIdentifier(client, doc._id, doc._class, doc).then((res) => {
idTitle = res
})

$: navItem.type === 'legacy' &&

Check warning on line 43 in plugins/inbox-resources/src/components/InboxCardTitle.svelte

View workflow job for this annotation

GitHub Actions / formatting

Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
doc &&

Check warning on line 44 in plugins/inbox-resources/src/components/InboxCardTitle.svelte

View workflow job for this annotation

GitHub Actions / formatting

Unexpected nullable object value in conditional. An explicit null check is required
getDocTitle(client, doc._id, doc._class, doc).then((res) => {
title = res
})
Expand All @@ -54,7 +54,7 @@
<div class="labels">
{#if client.getHierarchy().isDerived(navItem._class, cardPlugin.class.Card)}
{@const label = client.getHierarchy().getClass(doc?._class ?? navItem._class).label}
<span class="title--bold overflow-label clear-mins" use:tooltip={{ label }}>
<span class="title--bold overflow-label clear-mins">
<Label {label} />
</span>
{#if doc}
Expand Down
Loading