mirror of
https://github.com/unraid/api.git
synced 2026-01-02 22:50:02 -06:00
feat: always show DRA even if disabled
This commit is contained in:
@@ -65,12 +65,7 @@ export const getWriteableConfig = <T extends ConfigType>(
|
||||
getAllowedOrigins().join(', ')
|
||||
}
|
||||
: {}),
|
||||
...(remote.dynamicRemoteAccessType ===
|
||||
DynamicRemoteAccessType.DISABLED
|
||||
? {}
|
||||
: {
|
||||
dynamicRemoteAccessType: remote.dynamicRemoteAccessType,
|
||||
}),
|
||||
dynamicRemoteAccessType: remote.dynamicRemoteAccessType ?? DynamicRemoteAccessType.DISABLED,
|
||||
},
|
||||
upc: {
|
||||
apikey: upc.apikey ?? initialState.upc.apikey,
|
||||
|
||||
Reference in New Issue
Block a user