Koenig - Fixed embeds cards

no issue
- `set` call to remove `linkOnError` from the embed card payload was malformed
This commit is contained in:
Kevin Ansfield 2018-08-02 14:39:31 +01:00
parent 609e9a6787
commit 6833c0b2fa
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ export default Component.extend({
throw 'No HTML returned';
}
set(this.payload.linkOnError, undefined);
set(this.payload, 'linkOnError', undefined);
set(this.payload, 'html', response.html);
set(this.payload, 'type', response.type);
this.saveCard(this.payload, false);