Skip to content

Commit

Permalink
Fix trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
martian-aurora committed Jan 14, 2025
1 parent d4e8601 commit 5124045
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ const alarmLogMaxResults = import.meta.env.REACT_APP_AL_MAX_RESULTS !== '' ?
: "";

function handleParams(params) {
let urlParams = { "pvName": "*", "params": "" }

let urlParams = { "pvName": "*", "params": "" };
if ("pvName" in params && params.pvName !== "") {
if (params.pvName.charAt(0) === "=") {
urlParams.pvName = params.pvName.substring(1);
Expand Down

0 comments on commit 5124045

Please sign in to comment.