From 39d74fb7bae96c5977c9684bd109590b194e7d1c Mon Sep 17 00:00:00 2001 From: SuZhou-Joe Date: Mon, 29 Apr 2024 16:46:32 +0800 Subject: [PATCH] feat: remove useless code Signed-off-by: SuZhou-Joe --- .../saved_objects/workspace_ui_settings_client_wrapper.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/plugins/workspace/server/saved_objects/workspace_ui_settings_client_wrapper.ts b/src/plugins/workspace/server/saved_objects/workspace_ui_settings_client_wrapper.ts index b4002d9a609d..9cc860ec903e 100644 --- a/src/plugins/workspace/server/saved_objects/workspace_ui_settings_client_wrapper.ts +++ b/src/plugins/workspace/server/saved_objects/workspace_ui_settings_client_wrapper.ts @@ -78,11 +78,6 @@ export class WorkspaceUiSettingsClientWrapper { ...(workspaceObject ? workspaceObject.attributes.uiSettings : {}), }; - configObject.attributes = { - ...configObject.attributes, - ...workspaceObject?.attributes.uiSettings, - }; - return configObject as SavedObject; }