We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"kiosk" url parameter is passed to API calls API knows nothing about it (I guess it actually shouldn't) and returns error
I think we should remove this parameter from API call or maybe change the way kiosk mode is enabled?
Originally posted by @sp1r in #55 (comment)
The text was updated successfully, but these errors were encountered:
This patch works for me:
--- a/src/store/modules/alerts.store.ts +++ b/src/store/modules/alerts.store.ts @@ -160,6 +160,7 @@ const actions = { moment().utc().add(state.filter.dateRange[1], 'seconds').toISOString() // seconds offset ) } + params.delete('kiosk') return AlertsApi.getAlerts(params) .then(({ alerts, total, pageSize }) => commit('SET_ALERTS', [alerts, total, pageSize])) @@ -263,6 +264,7 @@ const actions = { moment().utc().add(state.filter.dateRange[1], 'seconds').toISOString() // seconds offset ) } + params.delete('kiosk') return AlertsApi.getEnvironments(params) .then(({ environments }) => commit('SET_ENVIRONMENTS', environments)) --
Sorry, something went wrong.
No branches or pull requests
"kiosk" url parameter is passed to API calls
API knows nothing about it (I guess it actually shouldn't) and returns error
I think we should remove this parameter from API call or maybe change the way kiosk mode is enabled?
Originally posted by @sp1r in #55 (comment)
The text was updated successfully, but these errors were encountered: