fix: context menu bugs (#3279)

This commit is contained in:
Nivedin
2023-08-25 00:27:03 +05:30
committed by GitHub
parent e9509b9fa1
commit a268cab11e
3 changed files with 4 additions and 4 deletions

View File

@@ -159,8 +159,8 @@
}, },
"context_menu": { "context_menu": {
"set_environment_variable": "Set as variable", "set_environment_variable": "Set as variable",
"add_parameter": "Add to parameter", "add_parameters": "Add to parameters",
"open_link_in_new_tab": "Open link in new tab" "open_request_in_new_tab": "Open request in new tab"
}, },
"count": { "count": {
"header": "Header {count}", "header": "Header {count}",

View File

@@ -114,7 +114,7 @@ export class ParameterMenuService extends Service implements ContextMenu {
id: "environment", id: "environment",
text: { text: {
type: "text", type: "text",
text: this.t("context_menu.add_parameter"), text: this.t("context_menu.add_parameters"),
}, },
icon: markRaw(IconArrowDownRight), icon: markRaw(IconArrowDownRight),
action: () => { action: () => {

View File

@@ -70,7 +70,7 @@ export class URLMenuService extends Service implements ContextMenu {
id: "link-tab", id: "link-tab",
text: { text: {
type: "text", type: "text",
text: this.t("context_menu.open_link_in_new_tab"), text: this.t("context_menu.open_request_in_new_tab"),
}, },
icon: markRaw(IconCopyPlus), icon: markRaw(IconCopyPlus),
action: () => { action: () => {