mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-04-29 04:00:26 +00:00
use toastFrontend for error msgs in plugins
This commit is contained in:
parent
5e7253282c
commit
a9722e70fd
6 changed files with 12 additions and 96 deletions
|
|
@ -62,14 +62,6 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div x-show="$store.pluginInstallStore.error && !$store.pluginInstallStore.loading" class="pi-state-card pi-state-error">
|
||||
<span class="material-symbols-outlined">error</span>
|
||||
<div>
|
||||
<div class="pi-state-title">Marketplace unavailable</div>
|
||||
<div class="pi-state-text" x-text="$store.pluginInstallStore.error"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div x-show="$store.pluginInstallStore.index && !$store.pluginInstallStore.loading && $store.pluginInstallStore.filteredPlugins.length > 0"
|
||||
class="pi-grid">
|
||||
<template x-for="plugin in $store.pluginInstallStore.paginatedPlugins" :key="plugin.key">
|
||||
|
|
@ -343,12 +335,6 @@
|
|||
color: var(--color-highlight);
|
||||
}
|
||||
|
||||
.pi-state-error {
|
||||
border-color: rgba(239, 68, 68, 0.28);
|
||||
background: rgba(239, 68, 68, 0.1);
|
||||
color: var(--color-error);
|
||||
}
|
||||
|
||||
.pi-state-empty .material-symbols-outlined {
|
||||
color: var(--color-text-muted);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue