mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-12 00:06:14 +00:00
delete comments from flow of the hub
This commit is contained in:
@@ -40,6 +40,7 @@
|
||||
|
||||
async function viewFlow(obj: { flow_id: number }): Promise<void> {
|
||||
const hub = await FlowService.getHubFlowById({ id: obj.flow_id })
|
||||
delete hub['comments']
|
||||
flowViewerFlow = hub
|
||||
flowViewer.openDrawer?.()
|
||||
}
|
||||
|
||||
@@ -43,6 +43,7 @@
|
||||
selectedId = 'settings-graph'
|
||||
} else if (hubId) {
|
||||
const hub = await FlowService.getHubFlowById({ id: Number(hubId) })
|
||||
delete hub['comments']
|
||||
flow.path = `u/${$userStore?.username}/flow_${hubId}`
|
||||
Object.assign(flow, hub.flow)
|
||||
flow = flow
|
||||
|
||||
Reference in New Issue
Block a user