mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 03:27:54 +00:00
Eslint prefer-const (#17864)
* adds prefer-const to eslint config and runs fixer * reverts unintended change
This commit is contained in:
@@ -94,7 +94,7 @@ export default Component.extend({
|
||||
},
|
||||
|
||||
parseAndSetTime() {
|
||||
let value = this.initialValue;
|
||||
const value = this.initialValue;
|
||||
let seconds = typeOf(value) === 'number' ? value : 30;
|
||||
try {
|
||||
seconds = Duration.parse(value).seconds();
|
||||
|
||||
Reference in New Issue
Block a user