feat: increase ticket font sizes and fix company name display
- Increased ticket number font from text-lg to text-2xl - Increased company name font from text-sm to text-lg - Increased ticket title font from text-xs to text-base - Increased padding on ticket cards for better spacing - Fixed company ID to name conversion in settings page - Ensure excluded_company_ids are parsed as numbers for proper lookup
This commit is contained in:
parent
26bfd503f1
commit
62ec703f81
2 changed files with 10 additions and 4 deletions
|
|
@ -40,6 +40,12 @@ export default function KioskSettingsPage() {
|
|||
const res = await fetch('/api/kiosk/settings');
|
||||
if (res.ok) {
|
||||
const data = await res.json();
|
||||
// Ensure excluded_company_ids are numbers
|
||||
if (data.excluded_company_ids && Array.isArray(data.excluded_company_ids)) {
|
||||
data.excluded_company_ids = data.excluded_company_ids.map((id: any) =>
|
||||
typeof id === 'string' ? parseInt(id) : id
|
||||
);
|
||||
}
|
||||
setSettings(data);
|
||||
}
|
||||
} catch (error) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue