Skip to content

Fix/whitelabel v2.3 compatibility#11

Open
cappuMUC wants to merge 2 commits into
InvoiceShelf:mainfrom
cappuMUC:fix/whitelabel-v2.3-compatibility
Open

Fix/whitelabel v2.3 compatibility#11
cappuMUC wants to merge 2 commits into
InvoiceShelf:mainfrom
cappuMUC:fix/whitelabel-v2.3-compatibility

Conversation

@cappuMUC
Copy link
Copy Markdown

I have a working solution to fix the incompatibility with version 2.3 mentioned in #8 . As this pull request is mostly AI generated and I'm not so deep into web development it may need a second look but from a first glimpse it looks not so wrong to me.
The fix relies on the axios module to be exposed by the main application which is no longer the case in 2.3 at the moment. An additional change (single line) in InvoiceShelf itself is also needed. This could also help for other modules which also rely on the global axios instance. If we decide to integrate the PR I could open a pull request there, too.

cappuMUC added 2 commits May 29, 2026 19:09
- Pinia 3: changed defineStore({id, ...}) to defineStore(id, {…})
  (single-object overload removed in Pinia 3)
- Use window.http.post() instead of window.axios.post()
  (main app no longer exposes window.axios)
- Fixed ThemeSelector.vue: @heroicons/vue/solid -> @heroicons/vue/20/solid
- Updated vite.config.js for Vite 8 / rolldown external syntax
- Removed obsolete postcss.config.js, autoprefixer, postcss deps
- Added define config for process.env.NODE_ENV replacement
- Fixed trailing newlines in scss files
…ayload

- Skip customer_portal_page_title in the company settings payload when
  it's null (not yet set by user) to avoid NOT NULL constraint failure
  on company_settings.value
- Use correct response property logoRes.data.customerPortalLogoUrl
  instead of logoRes.data.url (the controller returns customerPortalLogoUrl)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant