1
0
mirror of https://github.com/dkmstr/openuds-gui.git synced 2025-03-11 04:58:21 +03:00

Added close current running dialog before opening new one on launchURL for meta pools

This commit is contained in:
Adolfo Gómez García 2022-01-30 18:18:50 +01:00
parent fd8bbaa184
commit 8714341c46
2 changed files with 5 additions and 0 deletions

View File

@ -132,6 +132,10 @@ export class Plugin {
} else {
// Is HTTP access the service returned, or for UDS client?
if (data.url.startsWith('/')) {
// If running message window, close it first...
if ( alert.componentInstance ) {
alert.componentInstance.close();
}
state = 'stop';
this.launchURL(data.url);
return;

View File

@ -18,6 +18,7 @@ export interface JSONTransport {
export interface JSONService {
id: string;
is_meta: boolean;
comments: string;
description: string;
group: JSONGroup;