mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 06:13:38 +00:00
ensure new sends that select custom expiration date must enter an expiration date (#460)
This commit is contained in:
@@ -155,7 +155,8 @@ export class EffluxDatesComponent implements OnInit {
|
|||||||
switch (this.browserPath) {
|
switch (this.browserPath) {
|
||||||
case BrowserPath.Safari:
|
case BrowserPath.Safari:
|
||||||
case BrowserPath.Firefox:
|
case BrowserPath.Firefox:
|
||||||
if (!this.fallbackExpirationDate.value || !this.fallbackExpirationTime.value) {
|
if ((!this.fallbackExpirationDate.value || !this.fallbackExpirationTime.value) &&
|
||||||
|
this.editMode) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
return this.fallbackExpirationDate.value + 'T' + this.fallbackExpirationTime.value;
|
return this.fallbackExpirationDate.value + 'T' + this.fallbackExpirationTime.value;
|
||||||
|
|||||||
Reference in New Issue
Block a user