tui: remove "Plugins reloaded" toast to reduce UI noise during plugin updates
This commit is contained in:
@@ -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({
|
||||||
|
|||||||
Reference in New Issue
Block a user