mirror of
https://github.com/unraid/api.git
synced 2025-12-31 13:39:52 -06:00
fix: missing server type
This commit is contained in:
@@ -1068,9 +1068,6 @@ export const useServerStore = defineStore("server", () => {
|
|||||||
*/
|
*/
|
||||||
const setServer = (data: Server) => {
|
const setServer = (data: Server) => {
|
||||||
console.debug("[setServer]", data);
|
console.debug("[setServer]", data);
|
||||||
if (typeof data?.apiKey !== "undefined") {
|
|
||||||
apiKey.value = data.apiKey;
|
|
||||||
}
|
|
||||||
if (typeof data?.array !== "undefined") {
|
if (typeof data?.array !== "undefined") {
|
||||||
array.value = data.array;
|
array.value = data.array;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user