@nyaruka/temba-components 0.50.2 → 0.51.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -248,7 +248,7 @@ export const postFormData = (
248
248
  return new Promise<WebResponse>((resolve, reject) => {
249
249
  postUrl(url, formData, true)
250
250
  .then(response => {
251
- if (response.status >= 200 && response.status < 300) {
251
+ if (response.status >= 200 && response.status < 400) {
252
252
  resolve(response);
253
253
  } else {
254
254
  if (url === upload_endpoint) {
@@ -613,6 +613,7 @@ export const getCookieBoolean = (name: string) => {
613
613
  };
614
614
 
615
615
  export enum COOKIE_KEYS {
616
+ SETTINGS = 'settings',
616
617
  MENU_COLLAPSED = 'menu-collapsed',
617
618
  TICKET_SHOW_DETAILS = 'tickets.show-details',
618
619
  }