1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/outline_ynh.git synced 2024-09-03 19:56:12 +02:00
outline_ynh/sources/patches/app-05-comments.patch

31 lines
1 KiB
Diff
Raw Normal View History

2023-02-26 16:36:11 +01:00
diff --git a/app/scenes/Settings/Features.tsx b/app/scenes/Settings/Features.tsx
2023-02-26 19:32:52 +01:00
index 4fe94b044..5fd14def3 100644
2023-02-26 16:36:11 +01:00
--- a/app/scenes/Settings/Features.tsx
+++ b/app/scenes/Settings/Features.tsx
2023-02-26 19:32:52 +01:00
@@ -11,6 +11,8 @@ import useCurrentTeam from "~/hooks/useCurrentTeam";
2023-02-26 18:10:58 +01:00
import useStores from "~/hooks/useStores";
import useToasts from "~/hooks/useToasts";
import SettingRow from "./components/SettingRow";
+import Flex from "~/components/Flex";
2023-02-26 19:32:52 +01:00
+import Badge from "~/components/Badge";
2023-02-26 18:10:58 +01:00
function Features() {
const { auth } = useStores();
2023-02-26 19:32:52 +01:00
@@ -57,7 +59,7 @@ function Features() {
2023-02-26 16:36:11 +01:00
/>
</SettingRow>
)}
- {/* <SettingRow
+ {<SettingRow
name={TeamPreference.Commenting}
label={
<Flex align="center">
2023-02-26 19:32:52 +01:00
@@ -75,7 +77,7 @@ function Features() {
2023-02-26 16:36:11 +01:00
disabled={!team.collaborativeEditing}
onChange={handlePreferenceChange}
/>
- </SettingRow> */}
+ </SettingRow>}
{team.avatarUrl && (
<SettingRow
name={TeamPreference.PublicBranding}