fix: log sharing in app + clearing (#5801)

* fix: log wiping app

* fix: share modal rounded
This commit is contained in:
Calum H.
2026-04-13 16:52:35 +02:00
committed by GitHub
parent b666747bc2
commit d5ad1cb823
5 changed files with 66 additions and 7 deletions

View File

@@ -63,6 +63,7 @@ const {
getHistoricalLogs,
getHistoricalContent,
invalidate,
clearLive,
} = useInstanceConsole(profilePathId.value)
await hydrate()
@@ -159,7 +160,8 @@ provideConsoleManager({
showCommandInput: false,
loading: ref(false),
onClear: () => {
activeConsole.value.clear()
if (!isLive.value) return
void clearLive()
},
onDelete: deleteSelectedLog,
deleteDisabled,