mirror of https://github.com/hashicorp/consul
10 lines
187 B
JavaScript
10 lines
187 B
JavaScript
|
import BaseAbility from './base';
|
||
|
|
||
|
export default class UpstreamAbility extends BaseAbility {
|
||
|
resource = 'upstream';
|
||
|
|
||
|
get isLinkable() {
|
||
|
return this.item.InstanceCount > 0;
|
||
|
}
|
||
|
}
|