Skip to content

Commit

Permalink
Fix missing security bypass for save and cancel button contents (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
maixuanhan authored Nov 7, 2023
1 parent 631db31 commit 1b73a56
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import {SecurityTrustType} from '../../../pipes/bypass-security-trust.pipe';
selector: 'angular2-st-tbody-create-cancel',
template: `
<a href="#" class="angular2-smart-action angular2-smart-action-edit-save"
[innerHTML]="saveButtonContent" (click)="onSave($event)"></a>
[innerHTML]="saveButtonContent | bypassSecurityTrust: bypassSecurityTrust" (click)="onSave($event)"></a>
<a href="#" class="angular2-smart-action angular2-smart-action-edit-cancel"
[innerHTML]="cancelButtonContent" (click)="onCancelEdit($event)"></a>
[innerHTML]="cancelButtonContent | bypassSecurityTrust: bypassSecurityTrust" (click)="onCancelEdit($event)"></a>
`,
})
export class TbodySaveCancelComponent implements OnChanges {
Expand Down

0 comments on commit 1b73a56

Please sign in to comment.