mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
* Change default toast placement * Position at bottom on mobile * Show single toast message at a time * Optionally show dialog for error messages * Fix circular dependency * Animate toast
38 lines
1.1 KiB
TypeScript
38 lines
1.1 KiB
TypeScript
import React from "react";
|
|
import { Button } from "react-bootstrap";
|
|
import { FormattedMessage } from "react-intl";
|
|
import { Link } from "react-router-dom";
|
|
import { Setting } from "./Inputs";
|
|
import { SettingSection } from "./SettingSection";
|
|
import { PatchContainerComponent } from "src/patch";
|
|
|
|
const SettingsToolsSection = PatchContainerComponent("SettingsToolsSection");
|
|
|
|
export const SettingsToolsPanel: React.FC = () => {
|
|
return (
|
|
<SettingSection headingID="config.tools.scene_tools">
|
|
<SettingsToolsSection>
|
|
<Setting
|
|
heading={
|
|
<Link to="/sceneFilenameParser">
|
|
<Button>
|
|
<FormattedMessage id="config.tools.scene_filename_parser.title" />
|
|
</Button>
|
|
</Link>
|
|
}
|
|
/>
|
|
|
|
<Setting
|
|
heading={
|
|
<Link to="/sceneDuplicateChecker">
|
|
<Button>
|
|
<FormattedMessage id="config.tools.scene_duplicate_checker" />
|
|
</Button>
|
|
</Link>
|
|
}
|
|
/>
|
|
</SettingsToolsSection>
|
|
</SettingSection>
|
|
);
|
|
};
|