tui: remove "Plugins reloaded" toast to reduce UI noise during plugin updates
This commit is contained in:
parent
39f1336621
commit
09cd7445f1
1 changed files with 0 additions and 7 deletions
|
|
@ -999,13 +999,6 @@ function App(props: { pair?: DialogPairCredentials }) {
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
event.on("plugin.updated", (_evt, { directory, workspace }) => {
|
|
||||||
const current = location.current ?? data.location.default()
|
|
||||||
if (directory !== current.directory) return
|
|
||||||
if (workspace !== current.workspaceID) return
|
|
||||||
toast.show({ variant: "success", message: "Plugins reloaded" })
|
|
||||||
})
|
|
||||||
|
|
||||||
event.on("tui.session.select", (evt, { workspace }) => {
|
event.on("tui.session.select", (evt, { workspace }) => {
|
||||||
if (workspace !== (location.current?.workspaceID ?? data.location.default().workspaceID)) return
|
if (workspace !== (location.current?.workspaceID ?? data.location.default().workspaceID)) return
|
||||||
route.navigate({
|
route.navigate({
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue