rm version divider from Collection dropdown (#4239)

This commit is contained in:
Falon Darville 2021-11-23 14:54:40 -08:00 committed by GitHub
parent bf1a6f37bf
commit fb957e3346
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@ import classnames from 'classnames';
import { HotKeyRegistry } from 'insomnia-common';
import React, { PureComponent } from 'react';
import { AUTOBIND_CFG, getAppName, getAppVersion } from '../../../common/constants';
import { AUTOBIND_CFG } from '../../../common/constants';
import { database as db } from '../../../common/database';
import { getWorkspaceLabel } from '../../../common/get-workspace-label';
import { hotKeyRefs } from '../../../common/hotkeys';
@ -164,9 +164,6 @@ export class WorkspaceDropdown extends PureComponent<Props, State> {
<i className="fa fa-caret-down space-left" />
{isLoading ? <i className="fa fa-refresh fa-spin space-left" /> : null}
</DropdownButton>
<DropdownDivider>
{getAppName()} v{getAppVersion()}
</DropdownDivider>
<DropdownItem onClick={WorkspaceDropdown._handleShowWorkspaceSettings}>
<i className="fa fa-wrench" /> {getWorkspaceLabel(activeWorkspace).singular} Settings
<DropdownHint keyBindings={hotKeyRegistry[hotKeyRefs.WORKSPACE_SHOW_SETTINGS.id]} />