KamoCRM

Seed globals.css from template when org folder lacks it

FixSecurityService
Ya
8 Juni 2026, 03:24 UTC
Mwandishi
Kamo
Ahadi ya
e5a26e8

provisionUpdate (run on every color save) rewrote the org's css/globals.css in place, but that object only exists once provisionFull has copied it from the default template. An org seeded with just config+logos had none, so the download threw NoSuchKey and the org's globals.css — the file every Kamo site loads to apply its colors — was never produced, leaving login/internal/ register on the grey defaults. Fall back to the default template when the org's globals.css is missing so the save self-heals for any such org.

Mabadiliko yote

Je, unaona nini kuhusu usafiri?

Kila kitu kinaingia kwenye tovuti yako mwenyewe. Anza kwenye mpango wa bure na usome ukurasa huu tena katika mwezi mmoja.

Kuwa Huru MileleMtazamo wa bei