From 73bc46ae4acd11d8253c261f9ae48322dda34fc0 Mon Sep 17 00:00:00 2001 From: addison Date: Tue, 16 Feb 2021 13:11:14 -0500 Subject: [PATCH] fixed bugs found creating demo video --- src/app/send/add-edit.component.html | 4 ++-- src/app/send/add-edit.component.ts | 3 +-- src/app/send/send.component.html | 4 ++-- src/app/send/send.component.ts | 14 +++++++++++++- src/scss/box.scss | 8 ++++---- 5 files changed, 22 insertions(+), 11 deletions(-) diff --git a/src/app/send/add-edit.component.html b/src/app/send/add-edit.component.html index 719d90e7..e4e7cb0b 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 e657bcd9..982f74c9 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 ab7b419d..a87f6394 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)">