This commit is contained in:
Bruno Windels
2020-12-07 16:02:06 +01:00
parent ef073de306
commit ca601d0e73
11 changed files with 55 additions and 25 deletions
+5 -1
View File
@@ -76,6 +76,10 @@ export class ClientViewModel extends ViewModel {
return actions;
}
get homepage() {
return this._client.homepage;
}
get identifier() {
return this._link.identifier;
}
@@ -102,7 +106,7 @@ export class ClientViewModel extends ViewModel {
get textInstructions() {
let instructions = this._client.getLinkInstructions(this._proposedPlatform, this._link);
if (!Array.isArray(instructions)) {
if (instructions && !Array.isArray(instructions)) {
instructions = [instructions];
}
return instructions;