Skip to content

Commit

Permalink
Trim trailing semicolon in dataview filter (Fixes #301)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaclarke committed Feb 23, 2024
1 parent 27949e1 commit bd536b3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion shared/studio/tabs/dataview/state/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1171,7 +1171,8 @@ export class DataInspector extends Model({
.replace(/#.*/g, "")
.trimStart()
.replace(/^filter\s/i, "")
.trimEnd(),
.trimEnd()
.replace(/;+$/, ""),
filter,
] as [string, string];
}
Expand Down

0 comments on commit bd536b3

Please sign in to comment.