Skip to content

Commit

Permalink
Get rid of warning about 'preset' not being part of active plugins: i…
Browse files Browse the repository at this point in the history
…t's core nowadays, hence it can be hard-coded as active.
  • Loading branch information
jacobwod committed Aug 22, 2023
1 parent 5809bbf commit b10b50a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions new-client/src/components/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,10 @@ class App extends React.PureComponent {
t.toLowerCase()
);

// Let's push some built-in core elements, that previously were plugins
// and that still have their config there.
lowerCaseActiveTools.push("preset");

// Check which plugins defined in mapConfig don't exist in buildConfig
const unsupportedToolsFoundInMapConfig = this.props.config.mapConfig.tools
.map((t) => t.type.toLowerCase())
Expand Down

0 comments on commit b10b50a

Please sign in to comment.