diff --git a/plugins/tracker-resources/src/components/issues/timereport/TimeSpendReportsList.svelte b/plugins/tracker-resources/src/components/issues/timereport/TimeSpendReportsList.svelte index e2894eb7e0..3222db4a07 100644 --- a/plugins/tracker-resources/src/components/issues/timereport/TimeSpendReportsList.svelte +++ b/plugins/tracker-resources/src/components/issues/timereport/TimeSpendReportsList.svelte @@ -81,7 +81,7 @@ on:click={(evt) => editSpendReport(evt, report, currentProject?.defaultTimeReportDay)} >
- + {#if currentProject && report.$lookup?.attachedTo} {getIssueId(currentProject, report.$lookup?.attachedTo)} {/if} diff --git a/plugins/view-resources/src/components/Table.svelte b/plugins/view-resources/src/components/Table.svelte index 6575cb8156..555890679f 100644 --- a/plugins/view-resources/src/components/Table.svelte +++ b/plugins/view-resources/src/components/Table.svelte @@ -108,7 +108,7 @@ query, (result) => { objects = result - total = result.total + total = result.total === -1 ? 0 : result.total objectsRecieved = true if (sortingFunction !== undefined) { const sf = sortingFunction @@ -358,7 +358,7 @@ {#if loading > 0}{/if} {/await} -{#if showFooter && total} +{#if showFooter}