Przeglądaj źródła

Remove action state from being set to undefined when action selected to stop options from minimising on selection

Alice Russell 2 lat temu
rodzic
commit
87c708e3c1
1 zmienionych plików z 0 dodań i 1 usunięć
  1. 0 1
      src/mol-plugin-ui/structure/components.tsx

+ 0 - 1
src/mol-plugin-ui/structure/components.tsx

@@ -280,7 +280,6 @@ class StructureComponentGroup extends PurePluginUIComponent<{ group: StructureCo
 
     selectAction: ActionMenu.OnSelect = item => {
         if (!item) return;
-        this.setState({ action: void 0 });
         (item?.value as any)();
     };