Simplified condition
This commit is contained in:
1 parent
7edc3fdd5c
commit
8b080f0511
1 file changed
+1
-1
@@ -60,7 +60,7 @@ export class DashboardSrv {
|
||||
delete urlParams.edit;
|
||||
}
|
||||
|
||||
if (options.panelId !== undefined) {
|
||||
if (options.panelId || options.panelId === 0) {
|
||||
urlParams.panelId = options.panelId;
|
||||
} else {
|
||||
delete urlParams.panelId;
|
||||
|
||||
Reference in new issue
Block a user