mirror of
https://github.com/outline/outline.git
synced 2026-12-03 01:59:03 +03:00
fix: Public docs not visible
This commit is contained in:
2 files changed
+3
-2
No files matched your search
@@ -36,6 +36,7 @@ function Switch(
|
||||
width = 32,
|
||||
height = 18,
|
||||
labelPosition = "left",
|
||||
inForm = true,
|
||||
label,
|
||||
disabled,
|
||||
className,
|
||||
@@ -72,7 +73,7 @@ function Switch(
|
||||
|
||||
if (label) {
|
||||
return (
|
||||
<Wrapper $inForm={props.inForm}>
|
||||
<Wrapper $inForm={inForm}>
|
||||
<Label
|
||||
disabled={disabled}
|
||||
htmlFor={props.id}
|
||||
|
||||
@@ -15,7 +15,7 @@ import useStores from "./useStores";
|
||||
*/
|
||||
export default function useEmbeds(loadIfMissing = false) {
|
||||
const { integrations } = useStores();
|
||||
const team = useCurrentTeam();
|
||||
const team = useCurrentTeam({ rejectOnEmpty: false });
|
||||
|
||||
useEffect(() => {
|
||||
async function fetchEmbedIntegrations() {
|
||||
|
||||
Reference in new issue
Block a user