mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-30 15:03:57 +00:00
feedback menu link
This commit is contained in:
@@ -108,6 +108,7 @@ module.exports = ({ editMenu, isMac }) => [
|
|||||||
{ command: 'app.openWeb', hideDisabled: true },
|
{ command: 'app.openWeb', hideDisabled: true },
|
||||||
{ command: 'app.openIssue', hideDisabled: true },
|
{ command: 'app.openIssue', hideDisabled: true },
|
||||||
{ command: 'app.openSponsoring', hideDisabled: true },
|
{ command: 'app.openSponsoring', hideDisabled: true },
|
||||||
|
{ command: 'app.giveFeedback', hideDisabled: true },
|
||||||
{ divider: true },
|
{ divider: true },
|
||||||
{ command: 'settings.commands', hideDisabled: true },
|
{ command: 'settings.commands', hideDisabled: true },
|
||||||
{ command: 'tabs.changelog', hideDisabled: true },
|
{ command: 'tabs.changelog', hideDisabled: true },
|
||||||
|
|||||||
@@ -929,9 +929,17 @@ registerCommand({
|
|||||||
id: 'app.openSponsoring',
|
id: 'app.openSponsoring',
|
||||||
category: 'Application',
|
category: 'Application',
|
||||||
name: 'Become sponsor',
|
name: 'Become sponsor',
|
||||||
|
testEnabled: () => !isProApp(),
|
||||||
onClick: () => openWebLink('https://opencollective.com/dbgate'),
|
onClick: () => openWebLink('https://opencollective.com/dbgate'),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
registerCommand({
|
||||||
|
id: 'app.giveFeedback',
|
||||||
|
category: 'Application',
|
||||||
|
name: 'Give us feedback',
|
||||||
|
onClick: () => openWebLink('https://dbgate.org/feedback'),
|
||||||
|
});
|
||||||
|
|
||||||
registerCommand({
|
registerCommand({
|
||||||
id: 'app.zoomIn',
|
id: 'app.zoomIn',
|
||||||
category: 'Application',
|
category: 'Application',
|
||||||
|
|||||||
Reference in New Issue
Block a user