mirror of
https://github.com/stashapp/stash.git
synced 2025-12-06 16:34:02 +01:00
Use /plugins instead of /plugin in testReact
This commit is contained in:
parent
dcfb3b7d37
commit
108c0c7de5
1 changed files with 3 additions and 3 deletions
|
|
@ -192,7 +192,7 @@ interface IPluginApi {
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
PluginApi.register.route("/plugin/test-react", TestPage);
|
PluginApi.register.route("/plugins/test-react", TestPage);
|
||||||
|
|
||||||
PluginApi.patch.before("SettingsToolsSection", function (props: any) {
|
PluginApi.patch.before("SettingsToolsSection", function (props: any) {
|
||||||
const {
|
const {
|
||||||
|
|
@ -206,7 +206,7 @@ interface IPluginApi {
|
||||||
{props.children}
|
{props.children}
|
||||||
<Setting
|
<Setting
|
||||||
heading={
|
heading={
|
||||||
<Link to="/plugin/test-react">
|
<Link to="/plugins/test-react">
|
||||||
<Button>
|
<Button>
|
||||||
Test page
|
Test page
|
||||||
</Button>
|
</Button>
|
||||||
|
|
@ -232,7 +232,7 @@ interface IPluginApi {
|
||||||
<NavLink
|
<NavLink
|
||||||
className="nav-utility"
|
className="nav-utility"
|
||||||
exact
|
exact
|
||||||
to="/plugin/test-react"
|
to="/plugins/test-react"
|
||||||
>
|
>
|
||||||
<Button
|
<Button
|
||||||
className="minimal d-flex align-items-center h-100"
|
className="minimal d-flex align-items-center h-100"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue