Skip to content

Commit

Permalink
Merge branch 'cherry-pick-dff40c55' into '6.4.1.0'
Browse files Browse the repository at this point in the history
NEXT-15335 - Remove feature flag

See merge request shopware/6/product/platform!5360
  • Loading branch information
taltholtmann committed May 19, 2021
2 parents a0bf6d3 + aad3d17 commit 0203605
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,7 @@
<sw-sidebar-item icon="default-text-code"
:title="$tc('sw-mail-template.detail.sidebar.titleShowAvailableVariables')"
:disabled="mailTemplate.mailTemplateTypeId === undefined || mailTemplate.mailTemplateTypeId === null"
class="sw-mail-template-detail__show-available-variables"
v-if="feature.isActive('FEATURE_NEXT_12654')">
class="sw-mail-template-detail__show-available-variables">
<div class="sw-mail-template-detail__available-variables-sidebar-container">
{% block sw_mail_template_available_variables_tree %}
<sw-tree
Expand Down Expand Up @@ -318,8 +317,7 @@
:title="$tc('sw-mail-template.detail.sidebar.titleShowPreview')"
:disabled="showPreview"
class="sw-mail-template-detail__show-preview-sidebar"
@click="onClickShowPreview"
v-if="feature.isActive('FEATURE_NEXT_12654')">
@click="onClickShowPreview">
</sw-sidebar-item>

<sw-sidebar-media-item ref="mediaSidebarItem">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,6 @@ const repositoryMockFactory = () => {
const createWrapper = (privileges = []) => {
return shallowMount(Shopware.Component.build('sw-mail-template-detail'), {
provide: {
feature: {
isActive: () => true
},
repositoryFactory: {
create: () => repositoryMockFactory()
},
Expand Down

0 comments on commit 0203605

Please sign in to comment.