mirror of
https://github.com/podman-desktop/podman-desktop
synced 2026-05-24 10:18:53 +00:00
chore: add some ignore on runes components
(it's just warning but it's handled as an error) Signed-off-by: Florent Benoit <fbenoit@redhat.com>
This commit is contained in:
parent
8035c9a83c
commit
ad288ce7f6
3 changed files with 3 additions and 0 deletions
|
|
@ -50,6 +50,7 @@ function clickSettings(b: boolean) {
|
|||
{@const allItemsHidden = (navigationRegistryItem.items ?? []).every(item => item.hidden)}
|
||||
{#if !allItemsHidden}
|
||||
<NavSection tooltip={navigationRegistryItem.name}>
|
||||
<!-- svelte-ignore svelte_component_deprecated -->
|
||||
<svelte:component this={navigationRegistryItem.icon.iconComponent} size={iconSize} slot="icon" />
|
||||
|
||||
{#if navigationRegistryItem.items}
|
||||
|
|
|
|||
|
|
@ -373,6 +373,7 @@ const row = new TableRow<ContainerGroupInfoUI | ContainerInfoUI>({
|
|||
});
|
||||
|
||||
let containersAndGroups: (ContainerGroupInfoUI | ContainerInfoUI)[];
|
||||
// svelte-ignore reactive_declaration_non_reactive_property
|
||||
$: containersAndGroups = containerGroups.map(group =>
|
||||
group?.type === ContainerGroupInfoTypeUI.STANDALONE ? group.containers[0] : group,
|
||||
);
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ let { entry, meta = $bindable() }: { entry: NavigationRegistryEntry; meta: Tinro
|
|||
{:else if entry.icon.faIcon}
|
||||
<Fa icon={entry.icon.faIcon.definition} size={entry.icon.faIcon.size} />
|
||||
{:else if entry.icon.iconComponent}
|
||||
<!-- svelte-ignore svelte_component_deprecated -->
|
||||
<svelte:component this={entry.icon.iconComponent} size="24" />
|
||||
{:else if entry.icon.iconImage && typeof entry.icon.iconImage === 'string'}
|
||||
<img src={entry.icon.iconImage} width="22" height="22" alt={entry.name} />
|
||||
|
|
|
|||
Loading…
Reference in a new issue