mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Simplified condition
This commit is contained in:
parent
7edc3fdd5c
commit
8b080f0511
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user