Skip to content

Commit

Permalink
Fixed #11307
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonkelly committed May 25, 2022
1 parent 6609541 commit 6e3e031
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
- Fixed a bug where it wasn’t possible to disable all table columns for an element source. ([#11291](https://github.com/craftcms/cms/issues/11291))
- Fixed a bug where the Assets index page wasn’t allowing any bulk actions for assets in the temporary volume. ([#11293](https://github.com/craftcms/cms/issues/11293))
- Fixed a bug where PHP errors thrown while rendering a template weren’t being handled properly. ([#11108](https://github.com/craftcms/cms/issues/11108))
- Fixed a bug where site status labels were inconsistent on element edit pages. ([#11307](https://github.com/craftcms/cms/issues/11307))

## 4.0.3 - 2022-05-20

Expand Down
2 changes: 1 addition & 1 deletion src/web/assets/cp/dist/cp.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/web/assets/cp/dist/cp.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/web/assets/cp/src/js/ElementEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ Craft.ElementEditor = Garnish.Base.extend(
_createSiteStatusField: function (site, status) {
const $field = Craft.ui.createLightswitchField({
fieldClass: `enabled-for-site-${site.id}-field`,
label: Craft.t('app', 'Enabled for {site}', {site: site.name}),
label: site.name,
name: `enabledForSite[${site.id}]`,
on:
typeof status != 'undefined'
Expand Down

0 comments on commit 6e3e031

Please sign in to comment.