Add file uploader support
This commit is contained in:
@@ -48,7 +48,7 @@ export class ApiService {
|
||||
});
|
||||
}
|
||||
|
||||
private _build_url(endpoint) {
|
||||
public _build_url(endpoint) {
|
||||
if ( !endpoint.startsWith('/') ) {
|
||||
endpoint = `/${endpoint}`;
|
||||
}
|
||||
|
||||
@@ -52,7 +52,6 @@ export class PageService {
|
||||
}
|
||||
|
||||
save_nodes(page: PageRecord, nodes: Array<HostRecord>): Observable<Array<HostRecord>> {
|
||||
console.log('save nodes', {nodes})
|
||||
return new Observable<Array<HostRecord>>(sub => {
|
||||
nodes = nodes.map(x => {
|
||||
x.PageId = page.UUID;
|
||||
|
||||
Reference in New Issue
Block a user