Skip to content

Commit

Permalink
Add ui-extension-version annotation to dev loaded extensions to ensur…
Browse files Browse the repository at this point in the history
…e it loads
  • Loading branch information
richard-cox committed Oct 2, 2024
1 parent 2feb239 commit aedaca5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions shell/pages/c/_cluster/uiplugins/DeveloperInstallDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import AppModal from '@shell/components/AppModal.vue';
import { LabeledInput } from '@components/Form/LabeledInput';
import Checkbox from '@components/Form/Checkbox/Checkbox.vue';
import { UI_PLUGIN } from '@shell/config/types';
import { UI_PLUGIN_NAMESPACE } from '@shell/config/uiplugins';
import { UI_PLUGIN_CHART_ANNOTATIONS, UI_PLUGIN_NAMESPACE } from '@shell/config/uiplugins';
export default {
emits: ['closed'],
Expand Down Expand Up @@ -107,8 +107,9 @@ export default {
endpoint: url,
noCache: true,
metadata: {
developer: 'true',
direct: 'true'
developer: 'true',
direct: 'true',
[UI_PLUGIN_CHART_ANNOTATIONS.EXTENSIONS_VERSION]: '>= 3',
},
noAuth: true
}
Expand Down

0 comments on commit aedaca5

Please sign in to comment.