Revert "remove method on wrong data source"

This reverts commit 8ab930f237.
This commit is contained in:
Mads Rasmussen
2023-11-13 16:15:56 +01:00
parent 04a2a1e9c7
commit 1ef0587850

View File

@@ -52,4 +52,19 @@ export class UmbStylesheetTreeServerDataSource implements UmbTreeDataSource<File
);
}
}
/**
* Fetches stylesheet items from the server
* @param {(string | undefined)} path
* @return {*}
* @memberof UmbStylesheetTreeServerDataSource
*/
async getItems(path: Array<string>) {
return tryExecuteAndNotify(
this.#host,
StylesheetResource.getStylesheetItem({
path,
}),
);
}
}