diff --git a/src/components/organisms/EarthEditor/OutlinePane/hooks.tsx b/src/components/organisms/EarthEditor/OutlinePane/hooks.tsx index 17436f549..540e1050f 100644 --- a/src/components/organisms/EarthEditor/OutlinePane/hooks.tsx +++ b/src/components/organisms/EarthEditor/OutlinePane/hooks.tsx @@ -209,6 +209,7 @@ export default () => { destLayerId, index: i, }, + refetchQueries: ["GetLayers"], }); }, [moveLayerMutation], @@ -295,6 +296,7 @@ export default () => { index: layerIndex?.[layerIndex.length - 1], name: t("Folder"), }, + refetchQueries: ["GetLayers"], }); }, [rootLayerId, data?.layer, selected, addLayerGroupMutation, t]);