style: format web apps with prettier and sort imports
Apply repo-wide Prettier/lint normalization across admin-web, desktop-client and ops-web: single quotes, no semicolons, trailing commas, consistent line wrapping, and import ordering. Also drop an unused brand-logo import in DesktopShell.vue. No behavior changes — formatting only. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -40,9 +40,7 @@ export const useCompanyStore = defineStore('company', () => {
|
||||
const nextBrands = normalizeBrandList(value)
|
||||
const storedId = readStoredCurrentBrandId()
|
||||
const preferredId = currentBrandId.value ?? storedId
|
||||
const matched = preferredId
|
||||
? nextBrands.find((brand) => brand.id === preferredId)
|
||||
: undefined
|
||||
const matched = preferredId ? nextBrands.find((brand) => brand.id === preferredId) : undefined
|
||||
|
||||
if (matched) {
|
||||
setCurrentBrand(matched.id)
|
||||
|
||||
Reference in New Issue
Block a user