mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-19 11:14:06 +00:00
Refactor Administration entrypoint
We moved the administration item to the company switcher in the header
This commit is contained in:
2
resources/scripts/http/index.js
vendored
2
resources/scripts/http/index.js
vendored
@@ -20,7 +20,7 @@ instance.interceptors.request.use(function (config) {
|
||||
config.headers.Authorization = authToken
|
||||
}
|
||||
|
||||
if (companyId) {
|
||||
if (companyId && Ls.get('isAdminMode') !== 'true') {
|
||||
config.headers.company = companyId
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user