append css in stead of js

This commit is contained in:
Mads Rasmussen
2023-12-19 14:47:14 +01:00
parent 796939bd6c
commit f8a9444063

View File

@@ -41,7 +41,7 @@ export class UmbStylesheetDetailServerDataSource implements UmbDetailDataSource<
// TODO: make data mapper to prevent errors
const requestBody: CreateStylesheetRequestModel = {
parentPath,
name: appendFileExtensionIfNeeded(stylesheet.name, '.js'),
name: appendFileExtensionIfNeeded(stylesheet.name, '.css'),
content: stylesheet.content,
};