Skip to content

Commit

Permalink
code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
aalves08 committed Sep 30, 2024
1 parent bc51a79 commit 43048a2
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions shell/plugins/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,7 @@ export default async function(context) {
const entries = response[2]?.value.entries || response[2]?.value.Entries || {};

Object.values(entries).forEach((plugin) => {
let shouldNotLoad = shouldNotLoadPlugin(plugin, { rancherVersion, kubeVersion }, context.store.getters['uiplugins/plugins'] || []); // Error key string or boolean

if (plugin.name === 'elemental') {
shouldNotLoad = 'ssss';
}
const shouldNotLoad = shouldNotLoadPlugin(plugin, { rancherVersion, kubeVersion }, context.store.getters['uiplugins/plugins'] || []); // Error key string or boolean

if (!shouldNotLoad) {
hash[plugin.name] = context.$plugin.loadPluginAsync(plugin);
Expand Down

0 comments on commit 43048a2

Please sign in to comment.