Skip to content

Commit

Permalink
fix prop being applied in wrong place
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonvarga committed Nov 30, 2023
1 parent 3757201 commit 841506e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion resources/js/components/entries/BaseCreateForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
:initial-site="site"
:can-manage-publish-state="canManagePublishState"
:create-another-url="createAnotherUrl"
:listing-url="listingUrl"
:initial-listing-url="listingUrl"
:preview-targets="previewTargets"
@saved="saved"
></entry-publish-form>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/entries/create.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
:breadcrumbs="{{ $breadcrumbs->toJson() }}"
site="{{ $locale }}"
create-another-url="{{ cp_route('collections.entries.create', [$collection, $locale, 'blueprint' => $blueprint['handle'], 'parent' => $values['parent'] ?? null]) }}"
initial-listing-url="{{ cp_route('collections.show', $collection) }}"
listing-url="{{ cp_route('collections.show', $collection) }}"
:can-manage-publish-state="{{ Statamic\Support\Str::bool($canManagePublishState) }}"
:preview-targets="{{ json_encode($previewTargets) }}"
></base-entry-create-form>
Expand Down

0 comments on commit 841506e

Please sign in to comment.