Skip to content

Commit

Permalink
fix(c-admin-editor): Don't show save button when read-only
Browse files Browse the repository at this point in the history
  • Loading branch information
ascott18 committed Oct 8, 2024
1 parent 51ab3dd commit 024747c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- feat(c-admin-table): Clicking a row takes you to the details page (#465)
- feat(c-admin-table): Always show button for details page (#465)
- fix(c-select): Not respecting disabled/readonly state in all cases when opening menu (#473)
- fix(c-admin-editor): Don't show save button when read-only

- refactor: `CoalesceOptions.DetailedEntityFrameworkExceptionMessages` has been renamed to `CoalesceOptions.DetailedEFMigrationExceptionMessages`
- fix: The "Max _N_ items retrieved" message in c-select now accounts for list calls that don't provide a count, e.g. by passing `noCount=true`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@
</c-loader-status>
</v-card-text>

<v-card-actions>
<v-card-actions v-if="canEdit">
<v-spacer></v-spacer>
<v-btn
v-if="!model.$isAutoSaveEnabled"
Expand All @@ -186,7 +186,6 @@
:loading="model.$bulkSave.isLoading"
prepend-icon="fa fa-save"
>
<!-- TODO: (#413) ^^^ read dirty state for the whole bulk save. -->
<span class="hidden-sm-and-down">Save</span>
</v-btn>
<v-btn
Expand Down

0 comments on commit 024747c

Please sign in to comment.