@opengeoweb/sigmet-airmet 9.35.0 → 9.36.0
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.
- package/index.esm.js +2 -2
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -1595,7 +1595,7 @@ var getDialogtitle = function getDialogtitle(product, productType, productConfig
|
|
|
1595
1595
|
return productName + " " + translateKeyOutsideComponents('cancels') + " " + product.cancelsAirmetSequenceId;
|
|
1596
1596
|
};
|
|
1597
1597
|
var getProductFormMode = function getProductFormMode(canBeOptions, productListItem) {
|
|
1598
|
-
if (productListItem
|
|
1598
|
+
if (!productListItem) {
|
|
1599
1599
|
return 'new';
|
|
1600
1600
|
}
|
|
1601
1601
|
if (!Array.isArray(canBeOptions)) {
|
|
@@ -4355,7 +4355,7 @@ var getSequenceStyling = function getSequenceStyling(product, hasTac) {
|
|
|
4355
4355
|
if (hasTac === void 0) {
|
|
4356
4356
|
hasTac = false;
|
|
4357
4357
|
}
|
|
4358
|
-
if (hasTac && !product || product && product.status === 'DRAFT') {
|
|
4358
|
+
if (hasTac && !product || product && product.status === 'DRAFT' || product && product.status === '') {
|
|
4359
4359
|
return {
|
|
4360
4360
|
fontWeight: 'lighter',
|
|
4361
4361
|
color: 'geowebColors.typographyAndIcons.inactiveText'
|