open-consul/ui/packages/consul-ui/app/abilities/service.js

10 lines
185 B
JavaScript

import BaseAbility from './base';
export default class ServiceAbility extends BaseAbility {
resource = 'service';
get isLinkable() {
return this.item.InstanceCount > 0;
}
}