mirror of
https://github.com/morbalint/kemkas.git
synced 2026-07-17 19:03:46 +00:00
spellbook fixes
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -109,7 +109,7 @@ export const characterSlice = createSlice({
|
|||||||
},
|
},
|
||||||
removeVarazslat: (state, action: {payload: {id: string, osztaly: Osztaly2E}}) => {
|
removeVarazslat: (state, action: {payload: {id: string, osztaly: Osztaly2E}}) => {
|
||||||
state.varazslatok = [...state.varazslatok.filter(x =>
|
state.varazslatok = [...state.varazslatok.filter(x =>
|
||||||
x.id !== action.payload.id && x.osztaly !== action.payload.osztaly)];
|
(x.id !== action.payload.id || x.osztaly !== action.payload.osztaly))];
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user