Customization: save and build css

on preview create preview css
This commit is contained in:
argirok 2022-07-22 18:35:51 +03:00
parent 7641c46d34
commit b1279e0de5
1 changed files with 3 additions and 0 deletions

View File

@ -20,6 +20,9 @@ export class LayoutService {
}
}
}
createCSS( pid: string, suffix = null, layout = null): Observable<any> {
return this.http.post("http://scoobydoo.di.uoa.gr:4200/build-css/" + (layout?"preview/":"") + pid + (suffix?("/"+ suffix):""), layout );
}
saveLayout(properties: EnvProperties, pid: string, layout: Layout): Observable<Layout> {
LayoutService.removeNulls(layout);