Skip to content

Commit

Permalink
date check
Browse files Browse the repository at this point in the history
  • Loading branch information
ianopolous committed Jul 7, 2024
1 parent 8c49c4b commit abc278e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/drive/SecretLink.vue
Original file line number Diff line number Diff line change
Expand Up @@ -180,10 +180,10 @@ module.exports = {
}
},
getExpiry: function() {
if (! this.hasExpiry)
return java.util.Optional.empty();
let dateExpiry = document.getElementById("expiry-date-picker");
let dateS = dateExpiry.value;
if (! this.hasExpiry || dateS == "")
return java.util.Optional.empty();
let timeExpiry = document.getElementById("expiry-time-picker");
let expireTimeString = "00:00";
if (timeExpiry != null) {
Expand Down

0 comments on commit abc278e

Please sign in to comment.