feat(master/manager/device): Enhance device management with new detail view, API updates, and improved request handling

This commit is contained in:
Tran Anh Tuan
2026-01-27 12:18:28 +07:00
parent a11e2c2991
commit 6d1c085ff7
20 changed files with 516 additions and 20 deletions

View File

@@ -102,7 +102,9 @@ export const handleRequestConfig: RequestConfig = {
...options,
headers: {
...options.headers,
...(token ? { Authorization: `${token}` } : {}),
...(token && !options.headers.Authorization
? { Authorization: `${token}` }
: {}),
},
},
};