mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 06:39:48 +00:00
add plugin hub link (#5155)
This commit is contained in:
parent
150e3ef5ef
commit
1338f211dc
@ -11,6 +11,7 @@ import {
|
||||
PLUGIN_PATH,
|
||||
} from '../../../common/constants';
|
||||
import { docsPlugins } from '../../../common/documentation';
|
||||
import { clickLink } from '../../../common/electron-helpers';
|
||||
import { delay } from '../../../common/misc';
|
||||
import * as models from '../../../models';
|
||||
import type { Settings } from '../../../models/settings';
|
||||
@ -330,7 +331,19 @@ export class Plugins extends PureComponent<Props, State> {
|
||||
<hr />
|
||||
|
||||
<div className="text-right">
|
||||
<Button onClick={this._handleCreatePlugin}>Generate New Plugin</Button>
|
||||
<Button
|
||||
onClick={() => {
|
||||
clickLink('https://insomnia.rest/plugins');
|
||||
}}
|
||||
>
|
||||
Browse Plugin Hub
|
||||
</Button>
|
||||
<Button
|
||||
style={{
|
||||
marginLeft: '0.3em',
|
||||
}}
|
||||
onClick={this._handleCreatePlugin}
|
||||
>Generate New Plugin</Button>
|
||||
<Button
|
||||
style={{
|
||||
marginLeft: '0.3em',
|
||||
|
Loading…
Reference in New Issue
Block a user