mirror of https://github.com/rancher/ui.git
18 lines
408 B
JavaScript
18 lines
408 B
JavaScript
import Component from '@ember/component';
|
|
import layout from './template';
|
|
import Tooltip from 'shared/mixins/tooltip';
|
|
import { alias } from '@ember/object/computed';
|
|
|
|
export default Component.extend(Tooltip, {
|
|
layout,
|
|
|
|
model: alias('tooltipService.tooltipOpts.model'),
|
|
|
|
actions: {
|
|
rotateCertificates() {
|
|
this.model.send('rotateCertificates')
|
|
this.tooltipService.hide();
|
|
}
|
|
}
|
|
});
|