mirror of
https://github.com/Myzel394/kleckrelay-website.git
synced 2025-06-19 07:55:25 +02:00
fixed expandUrlShorteners option missing
This commit is contained in:
parent
b7a80e383a
commit
87d9eaef50
@ -100,7 +100,7 @@ export default function AliasesPreferencesForm(): ReactElement {
|
||||
proxyImages: user.preferences.aliasProxyImages,
|
||||
imageProxyFormat: user.preferences.aliasImageProxyFormat,
|
||||
proxyUserAgent: user.preferences.aliasProxyUserAgent,
|
||||
expandUrlShorteners: user.preferences.aliasExpandUrlShorteners || true,
|
||||
expandUrlShorteners: user.preferences.aliasExpandUrlShorteners,
|
||||
},
|
||||
onSubmit: async (values, {setErrors}) => {
|
||||
try {
|
||||
|
@ -51,7 +51,6 @@ export default function AliasesRoute(): ReactElement {
|
||||
const [lockDisabledCopyMode, setLockDisabledCopyMode] = useState<boolean>(false)
|
||||
const isInCopyAddressMode = !isAnyInputFocused && !lockDisabledCopyMode && isPressingControl
|
||||
const [latestAliasId, setLatestAliasId] = useState<string | null>()
|
||||
console.log(latestAliasId)
|
||||
|
||||
const query = useQuery<PaginationResult<AliasList>, AxiosError>(
|
||||
["get_aliases", {queryValue, searchFilter, typeFilter}],
|
||||
|
@ -27,7 +27,7 @@ export default function LoginRoute(): ReactElement {
|
||||
} else {
|
||||
navigate("/")
|
||||
}
|
||||
}, [user?.encryptedPassword])
|
||||
}, [user, navigate])
|
||||
|
||||
if (token && queryEmail) {
|
||||
return <ConfirmFromDifferentDevice email={queryEmail} token={token} onConfirm={login} />
|
||||
|
Loading…
x
Reference in New Issue
Block a user