[plugins-functionality | DONE | Changed ] after save stay in the edit page

This commit is contained in:
argirok 2024-06-11 14:11:12 +03:00
parent 3553eeee62
commit 3cf95e3210
1 changed files with 2 additions and 3 deletions

View File

@ -169,9 +169,8 @@ export class PluginsFormComponent implements OnInit {
public savePlugin(plugin, update){
this.subscriptions.push(this._pluginsService.savePlugin(plugin, this.properties.adminToolsAPIURL,this.selectedCommunityPid ).subscribe(
saved => {
this._router.navigate(["../"], {queryParams: {pageId:this.selectedPageId}, relativeTo: this.route} )
this.selectedTemplate = null;
this.selectedPlugin = null;
this.edit(saved, this.selectedTemplate)
},
error => this.handleUpdateError("System error creating template", error)
));