1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-22 03:03:43 +00:00

Simplify send templates (#237)

* Simplify Send templates

* Fix internal template reference

* No trailing whitespace
This commit is contained in:
Matt Gibson
2021-02-26 12:47:11 -06:00
committed by GitHub
parent 2c11e5d6a9
commit e77e1c94e8
3 changed files with 8 additions and 9 deletions

View File

@@ -251,7 +251,7 @@ export class SendProgram extends Program {
sendText = SendTextResponse.template(data, options.hidden);
}
const template = Utils.assign(SendResponse.template(options.deleteInDays), {
const template = Utils.assign(SendResponse.template(null, options.deleteInDays), {
name: options.name ?? name,
notes: options.notes,
file: sendFile,