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

10 lines
187 B
JavaScript

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