Web:Common Added forum link
This commit is contained in:
parent
f3e839cf0d
commit
d9729ee270
@ -1,5 +1,6 @@
|
||||
import type { PlacesType } from "react-tooltip";
|
||||
interface BetaBadgeProps {
|
||||
forumLink?: string;
|
||||
documentationEmail?: string;
|
||||
currentColorScheme?: any;
|
||||
currentDeviceType?: "desktop" | "tablet" | "mobile";
|
||||
|
@ -13,6 +13,7 @@ const OtherOffset = 10;
|
||||
|
||||
function BetaBadge({
|
||||
place,
|
||||
forumLink,
|
||||
mobilePlace = "bottom-end",
|
||||
currentColorScheme,
|
||||
documentationEmail,
|
||||
@ -29,8 +30,9 @@ function BetaBadge({
|
||||
If you have found a bug, please submit it via
|
||||
{/*@ts-ignore */}
|
||||
<Link
|
||||
href={`mailto:${documentationEmail}`}
|
||||
href={forumLink}
|
||||
color={currentColorScheme?.main?.accent}
|
||||
target="_blank"
|
||||
>
|
||||
form
|
||||
</Link>
|
||||
@ -64,11 +66,18 @@ function BetaBadge({
|
||||
|
||||
export default inject<any>(({ auth }) => {
|
||||
const {
|
||||
helpLink,
|
||||
forumLink,
|
||||
currentColorScheme,
|
||||
documentationEmail,
|
||||
currentDeviceType,
|
||||
} = auth.settingsStore;
|
||||
|
||||
return { documentationEmail, currentColorScheme, currentDeviceType };
|
||||
console.log({ ...auth.settingsStore });
|
||||
|
||||
return {
|
||||
documentationEmail,
|
||||
currentColorScheme,
|
||||
currentDeviceType,
|
||||
forumLink,
|
||||
};
|
||||
})(observer(BetaBadge));
|
||||
|
@ -95,6 +95,7 @@ class SettingsStore {
|
||||
urlLicense = "https://gnu.org/licenses/gpl-3.0.html";
|
||||
urlSupport = "https://helpdesk.onlyoffice.com/";
|
||||
|
||||
forumLink = null;
|
||||
formGallery = {
|
||||
url: "",
|
||||
ext: ".oform",
|
||||
|
Loading…
Reference in New Issue
Block a user