@beganovich @turbo124 The reason the user experienced this issue (https://github.com/invoiceninja/ui/issues/1746) is because the VITE_WHITELABEL_INVOICE_URL environment variable is not populated. However, the 'Purchase White Label' button in the navigation bar has a fallback to a fixed URL, so when the variable is not populated, the button still has a URL to navigate to.
Now, I have set the newest URL as a fallback value for both buttons. So, even if the environment variable is not populated, the tab will be opened with: https://invoiceninja.invoicing.co/client/subscriptions/O5xe7Rwd7r/purchase.
@beganovich @turbo124 The reason the user experienced this issue (https://github.com/invoiceninja/ui/issues/1746) is because the
VITE_WHITELABEL_INVOICE_URL
environment variable is not populated. However, the 'Purchase White Label' button in the navigation bar has a fallback to a fixed URL, so when the variable is not populated, the button still has a URL to navigate to.Now, I have set the newest URL as a fallback value for both buttons. So, even if the environment variable is not populated, the tab will be opened with:
https://invoiceninja.invoicing.co/client/subscriptions/O5xe7Rwd7r/purchase
.Let me know your thoughts.