mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-04-28 19:51:11 +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
|
|
@ -148,10 +148,6 @@
|
|||
</template>
|
||||
</div>
|
||||
|
||||
<div x-show="$store.pluginInstallStore.error" class="pi-message pi-message-error">
|
||||
<span x-text="$store.pluginInstallStore.error"></span>
|
||||
</div>
|
||||
|
||||
<div class="pi-readme-section" x-show="$store.pluginInstallStore.readmeContent || $store.pluginInstallStore.readmeLoading">
|
||||
<div class="pi-readme-header">Readme</div>
|
||||
<div x-show="$store.pluginInstallStore.readmeLoading" class="pi-loading-text">
|
||||
|
|
@ -466,21 +462,6 @@
|
|||
padding: 0.75rem 0;
|
||||
}
|
||||
|
||||
.pi-message {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
padding: 1rem;
|
||||
border-radius: 8px;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.pi-message-error {
|
||||
background: rgba(239,68,68,0.1);
|
||||
border: 1px solid rgba(239,68,68,0.3);
|
||||
color: var(--color-error);
|
||||
}
|
||||
|
||||
.pi-screenshots-section {
|
||||
margin: var(--spacing-lg) 0;
|
||||
padding-top: var(--spacing-lg);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue