mirror of https://github.com/hashicorp/consul
10 lines
239 B
JavaScript
10 lines
239 B
JavaScript
|
import Helper from 'ember-can/helpers/can';
|
||
|
|
||
|
export default class extends Helper {
|
||
|
_addAbilityObserver(ability, propertyName) {
|
||
|
if(!this.isDestroyed && !this.isDestroying) {
|
||
|
super._addAbilityObserver(...arguments);
|
||
|
}
|
||
|
}
|
||
|
}
|