Skip to content

Commit

Permalink
Merge branch 'feature-CONTENTLIB-2_add-email-content-library' into re…
Browse files Browse the repository at this point in the history
…lease-1.1.0
  • Loading branch information
DominicWatson committed Sep 8, 2023
2 parents 2f1565a + 08d5067 commit 6f23181
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/Config.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ component {

settings.adminMenuItems = settings.adminMenuItems ?: {};

if(structKeyExists(settings.adminMenuItems,"emailCenter") && structKeyExists(settings.adminMenuItems.emailCenter, "subMenuItems")){
settings.adminMenuItems.emailCenter.subMenuItems.append("emailContentLibrary");
if ( StructKeyExists( settings.adminMenuItems, "emailCenter" ) && StructKeyExists( settings.adminMenuItems.emailCenter, "subMenuItems" ) ) {
ArrayAppend( settings.adminMenuItems.emailCenter.subMenuItems, "emailContentLibrary" );

settings.adminMenuItems.emailContentLibrary = {
feature = "emailContentLibrary"
, permissionKey = "contentLibrary.navigate"
, buildLinkArgs = { objectName="email_content_library_content" }
, activeChecks = { datamanagerObject=[ "email_content_library_content", "email_content_library_conditional_alternative" ] }
, activeChecks = { datamanagerObject=[ "email_content_library_content", "email_content_library_conditional_alternative" ] }
}
}
}
Expand Down

0 comments on commit 6f23181

Please sign in to comment.