diff --git a/src/app/send/add-edit.component.html b/src/app/send/add-edit.component.html index 719d90e7f9..e4e7cb0b1c 100644 --- a/src/app/send/add-edit.component.html +++ b/src/app/send/add-edit.component.html @@ -67,7 +67,7 @@
{{'deletionDateDesc' | i18n}}
-
+
@@ -80,7 +80,7 @@
{{'expirationDateDesc' | i18n}}
-
+
diff --git a/src/app/send/add-edit.component.ts b/src/app/send/add-edit.component.ts index e657bcd9c2..982f74c9eb 100644 --- a/src/app/send/add-edit.component.ts +++ b/src/app/send/add-edit.component.ts @@ -26,11 +26,10 @@ export class AddEditComponent extends BaseAddEditComponent { } async refresh() { + this.password = null; const send = await this.loadSend(); this.send = await send.decrypt(); - this.hasPassword = this.send.password != null && this.send.password.trim() !== ''; - this.deletionDate = this.dateToString(this.send.deletionDate); this.expirationDate = this.dateToString(this.send.expirationDate); } diff --git a/src/app/send/send.component.html b/src/app/send/send.component.html index ab7b419dec..a87f6394ac 100644 --- a/src/app/send/send.component.html +++ b/src/app/send/send.component.html @@ -43,7 +43,7 @@ [infiniteScrollContainer]="'#items .content'" [fromRoot]="true" (scrolled)="loadMore()"> + [ngClass]="{'active': s.id === sendId}"> @@ -68,7 +68,7 @@
+ (onSavedSend)="savedSend($event)" (onCancelled)="cancel($event)" (onDeletedSend)="deletedSend($event)">