From bdce0f980997eee3bfd319c410ab1fc0429993da Mon Sep 17 00:00:00 2001 From: Samuel Hassine Date: Tue, 7 Dec 2021 15:35:24 +0100 Subject: [PATCH] [frontend] Fix deletion of workspaces --- .../src/private/components/workspaces/dashboards/Root.js | 1 + .../components/workspaces/investigations/InvestigationGraph.js | 1 + .../src/private/components/workspaces/investigations/Root.js | 1 + 3 files changed, 3 insertions(+) diff --git a/opencti-platform/opencti-front/src/private/components/workspaces/dashboards/Root.js b/opencti-platform/opencti-front/src/private/components/workspaces/dashboards/Root.js index 3660e99cc1a7..2c49206c7668 100644 --- a/opencti-platform/opencti-front/src/private/components/workspaces/dashboards/Root.js +++ b/opencti-platform/opencti-front/src/private/components/workspaces/dashboards/Root.js @@ -24,6 +24,7 @@ const dashboardQuery = graphql` workspace(id: $id) { id name + type ...Dashboard_workspace } } diff --git a/opencti-platform/opencti-front/src/private/components/workspaces/investigations/InvestigationGraph.js b/opencti-platform/opencti-front/src/private/components/workspaces/investigations/InvestigationGraph.js index 8285bc27356c..b43677aa27ef 100644 --- a/opencti-platform/opencti-front/src/private/components/workspaces/investigations/InvestigationGraph.js +++ b/opencti-platform/opencti-front/src/private/components/workspaces/investigations/InvestigationGraph.js @@ -1764,6 +1764,7 @@ const InvestigationGraph = createFragmentContainer( manifest graph_data tags + type owner { id name diff --git a/opencti-platform/opencti-front/src/private/components/workspaces/investigations/Root.js b/opencti-platform/opencti-front/src/private/components/workspaces/investigations/Root.js index 0d0785c9c2f4..f3a7006d3c84 100644 --- a/opencti-platform/opencti-front/src/private/components/workspaces/investigations/Root.js +++ b/opencti-platform/opencti-front/src/private/components/workspaces/investigations/Root.js @@ -24,6 +24,7 @@ const investigationQuery = graphql` workspace(id: $id) { id name + type ...Investigation_workspace } }