File tree Expand file tree Collapse file tree 2 files changed +3
-9
lines changed
Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -152,7 +152,6 @@ export class ExperienceSiteMigration extends BaseRelatedObjectMigration {
152152
153153 Logger . logVerbose ( 'Printing the difference' + JSON . stringify ( difference ) ) ;
154154
155- // TODO - CHECK SOME IF ELSES HERE
156155 if ( normalizedOriginalFileContent !== noarmalizeUpdatedFileContent ) {
157156 Logger . logVerbose ( 'Updating the file content' ) ;
158157 fs . writeFileSync ( file . location , noarmalizeUpdatedFileContent , 'utf8' ) ;
@@ -208,11 +207,9 @@ export class ExperienceSiteMigration extends BaseRelatedObjectMigration {
208207 experienceSiteAssessmentInfo . warnings . push ( warningMsg ) ;
209208 } else {
210209 component . componentName = TARGET_COMPONENT_NAME_FC ;
211-
212- currentAttribute [ 'direction' ] = 'ltr' ;
213- currentAttribute [ 'display' ] = 'Display button to open Omniscript' ;
214- currentAttribute [ 'inlineVariant' ] = 'brand' ;
215- currentAttribute [ 'name' ] = targetDataFromStorageFC . name ;
210+ currentAttribute [ 'flexcardName' ] = targetDataFromStorageFC . name ;
211+ currentAttribute [ 'objectApiName' ] = '{!objectApiName}' ;
212+ currentAttribute [ 'recordId' ] = '{!recordId}' ;
216213 }
217214 }
218215
Original file line number Diff line number Diff line change @@ -285,9 +285,6 @@ export class ResultsBuilder {
285285 ) ,
286286 ] ,
287287 } ) ) ,
288- rollbackFlags : ( orgDetails . rollbackFlags || [ ] ) . includes ( 'RollbackApexChanges' )
289- ? [ 'RollbackApexChanges' ]
290- : undefined ,
291288 } ;
292289
293290 const reportTemplate = fs . readFileSync ( reportTemplateFilePath , 'utf8' ) ;
You can’t perform that action at this time.
0 commit comments