allow markup in instructions

This commit is contained in:
Bruno Windels
2020-12-07 14:35:08 +01:00
parent 732b8a48ff
commit 42994c4474
4 changed files with 28 additions and 7 deletions
+5 -1
View File
@@ -110,7 +110,11 @@ export class ClientViewModel extends ViewModel {
}
get textInstructions() {
return this._client.getLinkInstructions(this._proposedPlatform, this._link);
let instructions = this._client.getLinkInstructions(this._proposedPlatform, this._link);
if (!Array.isArray(instructions)) {
instructions = [instructions];
}
return instructions;
}
get copyString() {