mirror of
https://github.com/outline/outline.git
synced 2026-12-06 03:05:08 +03:00
refactor
This commit is contained in:
3 files changed
+2
-3
No files matched your search
@@ -30,7 +30,7 @@ function SettingsSidebar() {
|
||||
let configs = useSettingsConfig();
|
||||
|
||||
configs = configs.filter((item) =>
|
||||
item.group === t("Integrations") ? item.isActive : true
|
||||
"isActive" in item ? item.isActive : true
|
||||
);
|
||||
|
||||
const groupedConfig = groupBy(configs, "group");
|
||||
|
||||
@@ -200,7 +200,6 @@ const useSettingsConfig = () => {
|
||||
enabled: true,
|
||||
group: t("Integrations"),
|
||||
icon: PlusIcon,
|
||||
isActive: true,
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
@@ -389,7 +389,6 @@
|
||||
"{{ documentName }} cannot be moved within {{ parentDocumentName }}": "{{ documentName }} cannot be moved within {{ parentDocumentName }}",
|
||||
"You can't reorder documents in an alphabetically sorted collection": "You can't reorder documents in an alphabetically sorted collection",
|
||||
"The {{ documentName }} cannot be moved here": "The {{ documentName }} cannot be moved here",
|
||||
"Integrations": "Integrations",
|
||||
"Return to App": "Back to App",
|
||||
"Installation": "Installation",
|
||||
"Unstar document": "Unstar document",
|
||||
@@ -521,6 +520,7 @@
|
||||
"Groups": "Groups",
|
||||
"Shared Links": "Shared Links",
|
||||
"Import": "Import",
|
||||
"Integrations": "Integrations",
|
||||
"Install": "Install",
|
||||
"Revoke token": "Revoke token",
|
||||
"Revoke": "Revoke",
|
||||
|
||||
Reference in new issue
Block a user