mirror of
https://github.com/austinried/subtracks.git
synced 2025-12-27 17:19:27 +01:00
* FEATURE: add plain text password toggle to settings * clean up state types, lint, and add migrate Co-authored-by: austinried <4966622+austinried@users.noreply.github.com>
12 lines
207 B
TypeScript
12 lines
207 B
TypeScript
const migrations: Array<(state: any) => any> = [
|
|
state => {
|
|
for (let server of state.settings.servers) {
|
|
server.usePlainPassword = false
|
|
}
|
|
|
|
return state
|
|
},
|
|
]
|
|
|
|
export default migrations
|