Skip to content

Commit

Permalink
fix bug in script.js (#83)
Browse files Browse the repository at this point in the history
* add pulse telemetry api plugin

* bug fix: update script.js

---------

Co-authored-by: sonali623 <[email protected]>
  • Loading branch information
sonali623 and sonali623 authored Dec 31, 2024
1 parent 8c60ae7 commit 84588e7
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 84588e7

Please sign in to comment.