Skip to content
Snippets Groups Projects
Commit fb3dc444 authored by Florian Azizian's avatar Florian Azizian
Browse files

FEAT #14455 TIME 0:10 refresh page after logo updated

parent d3534a9d
No related branches found
No related tags found
No related merge requests found
......@@ -227,6 +227,11 @@ export class ParametersCustomizationComponent implements OnInit, OnDestroy {
this.http.put('../rest/parameters/' + parameterId, param)
.subscribe(() => {
this.notify.success(this.translate.instant('lang.parameterUpdated'));
if (parameterId === 'logo') {
setTimeout(() => {
window.location.reload();
}, 500);
}
}, (err) => {
this.notify.error(err.error.errors);
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment