Skip to content

Commit

Permalink
bug fix: update script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
sonali623 committed Dec 31, 2024
1 parent ba32fcc commit ed20c8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/dashboards/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ var sysdigService = function($) {
var backendId = ARGS['backend'];
var backend = "default";

if (backendId.match("prod[2-9]$")) {
if (backendId && backendId.match("prod[2-9]$")) {
backend = "Sysdig Prod" + backendId.at(4);
} else if (backendId == "prod1") {
backend = "Sysdig Prod";
Expand Down

0 comments on commit ed20c8e

Please sign in to comment.