mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-30 10:12:35 +00:00
updates instances of overriding computed properties (#14675)
This commit is contained in:
@@ -35,9 +35,14 @@ export default Service.extend({
|
||||
clusterAdapter() {
|
||||
return getOwner(this).lookup('adapter:cluster');
|
||||
},
|
||||
|
||||
tokens: computed(function () {
|
||||
return this.getTokensFromStorage() || [];
|
||||
// eslint-disable-next-line
|
||||
tokens: computed({
|
||||
get() {
|
||||
return this._tokens || this.getTokensFromStorage() || [];
|
||||
},
|
||||
set(key, value) {
|
||||
return (this._tokens = value);
|
||||
},
|
||||
}),
|
||||
|
||||
generateTokenName({ backend, clusterId }, policies) {
|
||||
|
||||
Reference in New Issue
Block a user