CB-5636 fix resource lag (#2942)

Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com>
This commit is contained in:
alex
2024-09-30 11:14:18 +03:00
committed by GitHub
co-authored by Evgenia Bezborodova
parent 01d08fc3ce
commit 38445f3843
2 changed files with 3 additions and 3 deletions
@@ -11,11 +11,11 @@
display: inline-block;
vertical-align: top;
white-space: normal;
transition: transform cubic-bezier(0.4, 0, 0.2, 1) 0.6s;
transition: transform ease-in-out 0.4s;
transform: translateX(-100%);
&:first-child {
transition: width cubic-bezier(0.4, 0, 0.2, 1) 0.6s;
transition: width ease-in-out 0.4s;
width: 100%;
}
}
@@ -87,7 +87,7 @@ export class DBDriverResource extends CachedMapResource<string, DBDriver, DBDriv
async addDriverLibraries(driverId: string, files: File[]) {
await this.graphQLService.sdk.uploadDriverLibrary(driverId, files);
await this.refresh(driverId);
await this.markOutdated(driverId);
}
protected override dataSet(key: string, value: DBDriver): void {