mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-04-28 11:40:47 +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
|
|
@ -45,10 +45,6 @@
|
|||
</button>
|
||||
</div>
|
||||
|
||||
<div x-show="$store.pluginInstallStore.error" class="pi-error">
|
||||
<span x-text="$store.pluginInstallStore.error"></span>
|
||||
</div>
|
||||
|
||||
<div x-show="$store.pluginInstallStore.result" class="pi-result">
|
||||
<div class="pi-result-icon">
|
||||
<span class="material-symbols-outlined">check_circle</span>
|
||||
|
|
@ -109,14 +105,6 @@
|
|||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.pi-error {
|
||||
color: var(--color-error);
|
||||
padding: 0.75rem;
|
||||
background: var(--color-error-bg, rgba(239,68,68,0.1));
|
||||
border-radius: 4px;
|
||||
margin-top: 0.75rem;
|
||||
}
|
||||
|
||||
.pi-result {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue