mirror of
https://github.com/Radiquum/AniX.git
synced 2025-04-05 07:44:38 +00:00
fix: status change
This commit is contained in:
parent
8e34ff4a7d
commit
6f1e48983a
2 changed files with 6 additions and 6 deletions
|
@ -78,7 +78,7 @@ export const ProfileEditPrivacyModal = (props: {
|
|||
<div className="flex items-center">
|
||||
<input
|
||||
disabled={loading}
|
||||
onClick={(e) => _setPrivacySetting(e)}
|
||||
onChange={(e) => _setPrivacySetting(e)}
|
||||
checked={props.privacySettings[props.setting] == 0}
|
||||
id="default-radio-1"
|
||||
type="radio"
|
||||
|
@ -96,7 +96,7 @@ export const ProfileEditPrivacyModal = (props: {
|
|||
<div className="flex items-center">
|
||||
<input
|
||||
disabled={loading}
|
||||
onClick={(e) => _setPrivacySetting(e)}
|
||||
onChange={(e) => _setPrivacySetting(e)}
|
||||
checked={props.privacySettings[props.setting] == 1}
|
||||
id="default-radio-2"
|
||||
type="radio"
|
||||
|
@ -117,7 +117,7 @@ export const ProfileEditPrivacyModal = (props: {
|
|||
<div className="flex items-center">
|
||||
<input
|
||||
disabled={loading}
|
||||
onClick={(e) => _setPrivacySetting(e)}
|
||||
onChange={(e) => _setPrivacySetting(e)}
|
||||
checked={props.privacySettings[props.setting] == 0}
|
||||
id="default-radio-1"
|
||||
type="radio"
|
||||
|
@ -135,7 +135,7 @@ export const ProfileEditPrivacyModal = (props: {
|
|||
<div className="flex items-center">
|
||||
<input
|
||||
disabled={loading}
|
||||
onClick={(e) => _setPrivacySetting(e)}
|
||||
onChange={(e) => _setPrivacySetting(e)}
|
||||
checked={props.privacySettings[props.setting] == 1}
|
||||
id="default-radio-2"
|
||||
type="radio"
|
||||
|
@ -153,7 +153,7 @@ export const ProfileEditPrivacyModal = (props: {
|
|||
<div className="flex items-center">
|
||||
<input
|
||||
disabled={loading}
|
||||
onClick={(e) => _setPrivacySetting(e)}
|
||||
onChange={(e) => _setPrivacySetting(e)}
|
||||
checked={props.privacySettings[props.setting] == 2}
|
||||
id="default-radio-3"
|
||||
type="radio"
|
||||
|
|
|
@ -27,7 +27,7 @@ export const ProfileEditStatusModal = (props: {
|
|||
|
||||
function _setStatusSetting() {
|
||||
setLoading(true);
|
||||
fetch(ENDPOINTS.user.settings.statusEdit, {
|
||||
fetch(`${ENDPOINTS.user.settings.statusEdit}?token=${props.token}`, {
|
||||
method: "POST",
|
||||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
|
|
Loading…
Add table
Reference in a new issue