export default function getCARTOData () {
  if (window.CartoConfig) {
    return window.CartoConfig.data;
  }

  return {
    user_data: window.user_data,
    organization_notifications: window.organization_notifications
  };
}

export default function getCARTOData () {
  if (window.CartoConfig) {
    return window.CartoConfig.data;
  }

  return {
    user_data: window.user_data,
    organization_notifications: window.organization_notifications || []
  };
}

Set organization_notifications to [] if no notificarions are available
Set organization_notifications to [] if no notificarions are available
