Commit 8b080f05 by Torkel Ödegaard

Simplified condition

parent 7edc3fdd
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment