mirror of https://github.com/rancher/ui.git
16 lines
384 B
JavaScript
16 lines
384 B
JavaScript
import Ember from 'ember';
|
|
import Tooltip from 'ui/mixins/tooltip';
|
|
import C from 'ui/utils/constants';
|
|
|
|
export default Ember.Component.extend(Tooltip, {
|
|
prefs: Ember.inject.service(),
|
|
classNames: ['tooltip-warning-container'],
|
|
actions: {
|
|
hideAccessWarning: function() {
|
|
this.set(`prefs.${C.PREFS.ACCESS_WARNING}`, false);
|
|
this.destroyTooltip();
|
|
},
|
|
|
|
}
|
|
});
|