fix name clash with ViewModel.platforms
This commit is contained in:
parent
08afeaf248
commit
9b7c3c2389
@ -32,7 +32,7 @@ export class ClientView extends TemplateView {
|
||||
t.div({className: "description"}, [
|
||||
t.h3(vm.name),
|
||||
t.p(vm.description),
|
||||
t.p(formatPlatforms(vm.platforms)),
|
||||
t.p(formatPlatforms(vm.availableOnPlatformNames)),
|
||||
]),
|
||||
t.div({className: `icon ${vm.clientId}`})
|
||||
]),
|
||||
|
@ -85,7 +85,7 @@ export class ClientViewModel extends ViewModel {
|
||||
return this._client.getLinkInstructions(this._proposedPlatform, this._link);
|
||||
}
|
||||
|
||||
get platforms() {
|
||||
get availableOnPlatformNames() {
|
||||
const platforms = this._client.platforms;
|
||||
const textPlatforms = [];
|
||||
const hasWebPlatform = platforms.some(p => isWebPlatform(p));
|
||||
|
Loading…
Reference in New Issue
Block a user