mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Renaming an argument
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
83125572d7
commit
6bd148c2ce
@ -57,8 +57,8 @@ export class Sidebar extends React.Component<Props> {
|
|||||||
static displayName = "Sidebar";
|
static displayName = "Sidebar";
|
||||||
@observable private contextMenu: CatalogEntityContextMenuContext = {
|
@observable private contextMenu: CatalogEntityContextMenuContext = {
|
||||||
menuItems: [],
|
menuItems: [],
|
||||||
navigate: (url: string, inMainFrame = true) => {
|
navigate: (url: string, forceMainFrame = true) => {
|
||||||
if (inMainFrame) {
|
if (forceMainFrame) {
|
||||||
broadcastMessage(IpcRendererNavigationEvents.NAVIGATE_IN_APP, url);
|
broadcastMessage(IpcRendererNavigationEvents.NAVIGATE_IN_APP, url);
|
||||||
} else {
|
} else {
|
||||||
navigate(url);
|
navigate(url);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user