Skip to content

Commit

Permalink
Fix "Read Only" text for section fields
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanmcclean committed Jan 12, 2024
1 parent 801e954 commit 40b66f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/js/components/publish/Field.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
/>
<i class="required mr-1" v-if="config.required">*</i>
<avatar v-if="isLocked" :user="lockingUser" class="w-4 rounded-full -mt-px ml-2 mr-2" v-tooltip="lockingUser.name" />
<span v-if="isReadOnly && !isTab" class="text-gray-500 font-normal text-2xs mr-1">
<span v-if="isReadOnly && !isTab && config.type !== 'section'" class="text-gray-500 font-normal text-2xs mr-1">
{{ isLocked ? __('Locked') : __('Read Only') }}
</span>
<svg-icon name="translate" class="h-4 mr-1 w-4 text-gray-600" v-if="isLocalizable && !isTab" v-tooltip.top="__('Localizable field')" />
Expand Down

0 comments on commit 40b66f8

Please sign in to comment.