Updated UI for the widget settings menu
This commit is contained in:
@@ -63,7 +63,6 @@ export const WIDGET_REGISTRY = {
|
||||
},
|
||||
allowedSizes: {
|
||||
small: { w: 3, h: 6 },
|
||||
medium: { w: 3, h: 9 },
|
||||
large: { w: 3, h: 12 },
|
||||
}
|
||||
},
|
||||
@@ -85,7 +84,6 @@ export const WIDGET_REGISTRY = {
|
||||
},
|
||||
allowedSizes: {
|
||||
small: { w: 3, h: 6 },
|
||||
medium: { w: 3, h: 9 },
|
||||
large: { w: 3, h: 12 },
|
||||
}
|
||||
},
|
||||
@@ -99,6 +97,12 @@ export const WIDGET_REGISTRY = {
|
||||
defaultSettings: {
|
||||
startDate: getStartDate(),
|
||||
endDate: getEndDate(),
|
||||
filters: {
|
||||
levelIncreases: true,
|
||||
levelDecreases: true,
|
||||
elevatedLevels: false, // will filter to show only volcanoes in their top 2 highest alert levels
|
||||
volcanoes: 'all', // filter on what volcanoes to display, defaults to 'all' instead of listing every volc
|
||||
},
|
||||
},
|
||||
allowedSizes: {
|
||||
small: { w: 3, h: 6 },
|
||||
@@ -180,7 +184,7 @@ export const WIDGET_REGISTRY = {
|
||||
endDate: getEndDate(),
|
||||
},
|
||||
allowedSizes: {
|
||||
medium: { w: 3, h: 12 },
|
||||
large: { w: 3, h: 12 },
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user