Prod build process
This commit is contained in:
@@ -26,7 +26,9 @@ export default class extends Controller {
|
||||
|
||||
async #updateFields(templatePlanData) {
|
||||
const titleElement = this.titleTarget
|
||||
titleElement.value = templatePlanData.title.match(/^(.*\d)k(?=\d)/i)[0].replace(/(\d)/, ' $1')
|
||||
if (!titleElement.value) {
|
||||
titleElement.value = templatePlanData.title.match(/^(.*\d)k(?=\d)/i)[0].replace(/(\d)/, ' $1')
|
||||
}
|
||||
const benefitTargetsList = this.benefitTargets
|
||||
templatePlanData.plan_benefits.forEach(function(bene) {
|
||||
const targetElement = benefitTargetsList.find(
|
||||
|
||||
Reference in New Issue
Block a user