Skip to content

Commit

Permalink
Merge pull request #68 from aem-design/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
wildone authored Apr 26, 2021
2 parents 4668385 + 35eb7c0 commit 9bd708f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
<button class="btn btn-link title">${componentProperties.title}</button>
</div>
<div id="${componentProperties.componentId}-content"
class="${componentProperties.dataToggle}"
class="${componentProperties.dataToggle}${wcmmode.edit ? ' show' : ''}"
aria-labelledby="${componentProperties.componentId}-heading"
data-parent="#${componentProperties.dataParent}">
<div class="body">
<sly data-sly-resource="${'./par' @ resourceType='aemdesign/components/layout/container'}"></sly>
</div>
</div>
</div>
</template>
</template>
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,10 @@ public ReplicationResult deliver(TransportContext ctx, ReplicationTransaction tx
ReplicationActionType replicationType = tx.getAction().getType();

// only runs the code if ReplicationAction type matches any of the following
if (replicationType == ReplicationActionType.TEST || replicationType == ReplicationActionType.ACTIVATE || replicationType == ReplicationActionType.DEACTIVATE) {
if (replicationType == ReplicationActionType.TEST ||
replicationType == ReplicationActionType.ACTIVATE ||
replicationType == ReplicationActionType.DEACTIVATE ||
replicationType == ReplicationActionType.DELETE ) {
return handleRequest(tx);
} else {
throw new ReplicationException("Replication action type " + replicationType + " not supported.");
Expand Down

0 comments on commit 9bd708f

Please sign in to comment.