Skip to content

Commit

Permalink
[frontend] mergeable option fixed for sco
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentinBouzinFiligran committed Sep 6, 2024
1 parent 4a71d6f commit 0ae007a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1302,7 +1302,7 @@ class DataTableToolBar extends Component {

// Some filter types are high level, we do not want to check them as "Different"
// We might need to add some other types here before refactoring the toolbar
const typesAreDifferent = (selectedTypes.filter((type) => !['Stix-Domain-Object', 'stix-core-relationship'].includes(type))).length > 1;
const typesAreDifferent = (selectedTypes.filter((type) => !['Stix-Domain-Object', 'stix-core-relationship', 'Stix-Cyber-Observable'].includes(type))).length > 1;
const preventMerge = selectedTypes.at(0) === 'Vocabulary'
&& Object.values(selectedElements).some(({ builtIn }) => Boolean(builtIn));
// region update
Expand Down

0 comments on commit 0ae007a

Please sign in to comment.