prettier'd
This commit is contained in:
parent
0307ab1c0a
commit
78ec13b7fe
2 changed files with 20 additions and 23 deletions
|
|
@ -7,7 +7,7 @@ export async function getAlertReasons(ctu) {
|
||||||
{
|
{
|
||||||
ctu: ctu,
|
ctu: ctu,
|
||||||
}
|
}
|
||||||
)
|
);
|
||||||
|
|
||||||
return Promise.resolve(alertReasons);
|
return Promise.resolve(alertReasons);
|
||||||
}
|
}
|
||||||
|
|
@ -57,9 +57,7 @@ import datePicker from "@/digital-components/date-picker/date-picker";
|
||||||
import { fetchCmsContentForPage } from "@/helpers/cms-content-helper";
|
import { fetchCmsContentForPage } from "@/helpers/cms-content-helper";
|
||||||
import { settleAllPromises } from "@/helpers/layout-helper";
|
import { settleAllPromises } from "@/helpers/layout-helper";
|
||||||
import { navigateToHeritageFunnel } from "@/helpers/heritage-integration/navigation-helper";
|
import { navigateToHeritageFunnel } from "@/helpers/heritage-integration/navigation-helper";
|
||||||
import {
|
import { getAlertReasons } from "@/layouts/schedule/helpers/schedule-helper";
|
||||||
getAlertReasons,
|
|
||||||
} from "@/layouts/schedule/helpers/schedule-helper";
|
|
||||||
import {
|
import {
|
||||||
doesCopyContainRouterLink,
|
doesCopyContainRouterLink,
|
||||||
splitCopyOnCMSPlaceHolder,
|
splitCopyOnCMSPlaceHolder,
|
||||||
|
|
@ -145,7 +143,7 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
cmsHeadlineTextFound(widgetName) {
|
cmsHeadlineTextFound(widgetName) {
|
||||||
return this.getCmsContent(widgetName, "HeadlineText") !== ""
|
return this.getCmsContent(widgetName, "HeadlineText") !== "";
|
||||||
},
|
},
|
||||||
convertReasonsToCmsAlerts(data) {
|
convertReasonsToCmsAlerts(data) {
|
||||||
this.weatherAlerts = data.reduce((newObj, alert) => {
|
this.weatherAlerts = data.reduce((newObj, alert) => {
|
||||||
|
|
@ -189,8 +187,7 @@ export default {
|
||||||
loadingModal,
|
loadingModal,
|
||||||
datePicker,
|
datePicker,
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {},
|
||||||
},
|
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue