Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Allan Lasser <[email protected]>
  • Loading branch information
eyeseast and allanlasser authored Nov 25, 2024
1 parent 65931ba commit 31f55fb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/lib/components/addons/History.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import type { Run } from "$lib/api/types";
import { _ } from "svelte-i18n";
import { Alert16, History16, History24, Hourglass24 } from "svelte-octicons";
import { Alert24, History16, History24, Hourglass24 } from "svelte-octicons";
import HistoryEvent from "./HistoryEvent.svelte";
import Paginator from "$lib/components/common/Paginator.svelte";
Expand Down Expand Up @@ -56,7 +56,7 @@
{#if loading}
<Empty icon={Hourglass24}>Loading past runs…</Empty>
{:else if error}
<Empty icon={Alert16}>
<Empty icon={Alert24}>
{error}
</Empty>
{:else}
Expand Down
4 changes: 2 additions & 2 deletions src/lib/components/addons/Scheduled.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import type { Maybe, Nullable, Page, Event } from "$lib/api/types";
import { _ } from "svelte-i18n";
import { Alert16, Clock16, Hourglass24 } from "svelte-octicons";
import { Alert24, Clock16, Hourglass24 } from "svelte-octicons";
import ScheduledEvent from "./ScheduledEvent.svelte";
import SidebarGroup from "../sidebar/SidebarGroup.svelte";
Expand Down Expand Up @@ -54,7 +54,7 @@
{#if loading}
<Empty icon={Hourglass24}>{$_("common.loading")}</Empty>
{:else if error}
<Empty icon={Alert16}>
<Empty icon={Alert24}>
{error}
</Empty>
{:else}
Expand Down
1 change: 1 addition & 0 deletions src/lib/components/documents/ResultsList.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@
}
.error {
text-align: center;
color: var(--error, red);
}
</style>

0 comments on commit 31f55fb

Please sign in to comment.