consul/ui-v2/app/initializers/power-select.js

15 lines
327 B
JavaScript

export function initialize(application) {
const PowerSelectComponent = application.resolveRegistration('component:power-select');
PowerSelectComponent.reopen({
updateState: function(changes) {
if (!this.isDestroyed) {
return this._super(changes);
}
},
});
}
export default {
initialize,
};