Update stylesheet-workspace.context.ts
This commit is contained in:
@@ -52,7 +52,7 @@ export class UmbStylesheetWorkspaceContext extends UmbWorkspaceContext<UmbStyles
|
||||
}
|
||||
|
||||
async load(path: string) {
|
||||
const { data } = await this.repository.requestByPath(path);
|
||||
const { data } = await this.repository.requestById(path);
|
||||
if (data) {
|
||||
this.setIsNew(false);
|
||||
this.#data.update(data);
|
||||
|
||||
Reference in New Issue
Block a user