We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c68310b commit a1be7ccCopy full SHA for a1be7cc
src/ui/widgets/EmbeddedDisplay/bobParser.ts
@@ -23,6 +23,7 @@ import {
23
import { PV } from "../../../types/pv";
24
import { OpiFile, Rule } from "../../../types/props";
25
import {
26
+ OPEN_PAGE,
27
OPEN_TAB,
28
OPEN_WEBPAGE,
29
WidgetActions,
@@ -282,8 +283,9 @@ export function bobParseActions(
282
283
}
284
});
285
} else if (type === "open_display") {
286
+ const type = action.target._text === "replace" ? OPEN_PAGE : OPEN_TAB;
287
processedActions.actions.push({
- type: OPEN_TAB,
288
+ type: type,
289
dynamicInfo: {
290
name: action.file._text,
291
location: actionToLocation(action),
0 commit comments