mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 03:27:54 +00:00
@@ -137,6 +137,11 @@ export default Component.extend(DEFAULTS, {
|
||||
this.reset();
|
||||
},
|
||||
|
||||
updateTtl(evt) {
|
||||
const ttl = evt.enabled ? `${evt.seconds}s` : '30m';
|
||||
set(this, 'wrapTTL', ttl);
|
||||
},
|
||||
|
||||
codemirrorUpdated(val, codemirror) {
|
||||
codemirror.performLint();
|
||||
const hasErrors = codemirror.state.lint.marked.length > 0;
|
||||
|
||||
Reference in New Issue
Block a user