mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-04-29 12:10:57 +00:00
fix plugin toggle signature and sync UI via modal events
Backend: Update toggle_plugin signature to match API Frontend: use x-on:modal-closed in the Plugin List to auto-refresh state, ensuring the "Advanced" dropdown status updates immediately without manual store calls
This commit is contained in:
parent
8b62f7151a
commit
dfc76a2aaf
4 changed files with 19 additions and 4 deletions
|
|
@ -7,7 +7,7 @@
|
|||
</head>
|
||||
|
||||
<body>
|
||||
<div x-data>
|
||||
<div x-data x-on:plugin-modal-closed.window="$store.pluginListStore.refresh()">
|
||||
<template x-if="$store.pluginListStore">
|
||||
<div x-init="$store.pluginListStore.init && $store.pluginListStore.init()">
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue