Initial commit
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
export default function getCARTOData () {
|
||||
if (window.CartoConfig) {
|
||||
return window.CartoConfig.data;
|
||||
}
|
||||
|
||||
return {
|
||||
user_data: window.user_data,
|
||||
notification: window.user_data.notification,
|
||||
organization_notifications: window.organization_notifications || []
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user