Add note to latest update (#400)

This commit is contained in:
Justin Edmund 2024-01-08 04:32:30 -08:00 committed by GitHub
parent bc3f716f8c
commit cac2613e9e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 11 deletions

View file

@ -88,7 +88,7 @@ const UpdatesPage = () => {
uncappedItems={{ uncappedItems={{
character: ['3040167000', '3040166000'], character: ['3040167000', '3040166000'],
}} }}
numNotes={1} numNotes={2}
/> />
<ContentUpdate <ContentUpdate
version="2023-12L" version="2023-12L"

View file

@ -21,7 +21,8 @@
"versions": { "versions": {
"2024-01U": { "2024-01U": {
"features": [ "features": [
"Fixed a bug that prevented logged out users from creating teams if they started from the Character or Summon tabs" "Fixed a bug that prevented logged out users from creating teams if they started from the Character or Summon tabs",
"Fixed a bug that prevented filtering the Teams, Saved, and Profile pages without selecting a filter twice"
] ]
}, },
"2023-12U2": { "2023-12U2": {

View file

@ -21,7 +21,8 @@
"versions": { "versions": {
"2024-01U": { "2024-01U": {
"features": [ "features": [
"ログアウトしたままのユーザーがキャラクターまたは召喚石のタブから編成を作成できない不具合を修正" "ログアウトしたままのユーザーがキャラクターまたは召喚石のタブから編成を作成できない不具合を修正",
"編成一覧、保存した編成、プロフィールのページでフィルターを2回選択しないとフィルターが機能しない不具合を修正"
] ]
}, },
"2023-12U2": { "2023-12U2": {

View file

@ -39,16 +39,14 @@ export const setHeaders = (
} }
export const storeEditKey = (id: string, key: string) => { export const storeEditKey = (id: string, key: string) => {
ls(id, key) const stored = set(id, key)
if (stored) setEditKey(id)
return stored
} }
export const setEditKey = (id: string, user?: User) => { export const setEditKey = (id: string) => {
if (!user) { const edit_key = get<string>(id)
const edit_key = get<string>(id) axios.defaults.headers.common['X-Edit-Key'] = edit_key
axios.defaults.headers.common['X-Edit-Key'] = edit_key
} else {
unsetEditKey()
}
} }
export const unsetEditKey = () => { export const unsetEditKey = () => {