mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-19 13:41:10 +02:00
fix error with namespaces by reloading, new switch styles
This commit is contained in:
parent
ffee108908
commit
f36b9da02f
@ -39,7 +39,8 @@ export default Component.extend({
|
||||
fetchListCapability: task(function*() {
|
||||
try {
|
||||
if (this.listCapability) {
|
||||
this.listCapability.unloadRecord();
|
||||
yield this.listCapability.reload();
|
||||
return;
|
||||
}
|
||||
let capability = yield this.store.findRecord('capabilities', 'sys/namespaces/');
|
||||
this.set('listCapability', capability);
|
||||
|
@ -11,21 +11,21 @@
|
||||
width: $size-8 * 2;
|
||||
}
|
||||
&::after {
|
||||
left: 0;
|
||||
width: $size-8 * 0.8;
|
||||
height: $size-8 * 0.8;
|
||||
transform: translateX(0.15rem);
|
||||
left: 0;
|
||||
top: $size-8/ 4;
|
||||
}
|
||||
}
|
||||
&:checked + label::after {
|
||||
left: 0;
|
||||
transform: translateX(($size-8 * 2) - ($size-8 * 0.9));
|
||||
transform: translateX(($size-8 * 2) - ($size-8 * 0.94));
|
||||
}
|
||||
}
|
||||
}
|
||||
.switch[type="checkbox"].is-small + label::after {
|
||||
will-change: transform;
|
||||
will-change: left;
|
||||
}
|
||||
.switch[type="checkbox"]:focus + label {
|
||||
box-shadow: 0 0 1px $blue;
|
||||
|
Loading…
x
Reference in New Issue
Block a user