Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
Merge pull request #74 from qor5/fix-schedule
Browse files Browse the repository at this point in the history
Fix example publish editing schedule bar
  • Loading branch information
moluuser authored Oct 18, 2023
2 parents aca0f64 + 138d168 commit 064a895
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docsrc/examples/example_basics/publish.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func PublishExample(b *presets.Builder) {

// @snippet_begin(PublishConfigureView)
mb := b.Model(&Product{})
mb.Editing("StatusBar", "Schedule", "Name", "Price")
mb.Editing("StatusBar", "ScheduleBar", "Name", "Price")

publisher := publish.New(DB, nil)
publish_view.Configure(b, DB, nil, publisher, mb)
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ require (
github.com/markbates/goth v1.77.0
github.com/ory/ladon v1.2.0
github.com/qor/oss v0.0.0-20230717083721-c04686f83630
github.com/qor5/admin v0.0.0-20231009020927-485bb3c7c83b
github.com/qor5/admin v0.0.0-20231018094342-8abd2359e13e
github.com/qor5/ui v1.0.1-0.20230913083355-743825ff29b1
github.com/qor5/web v1.3.1
github.com/qor5/x v1.2.1-0.20230907054212-50b1a850acf6
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,8 @@ github.com/pquerna/otp v1.4.0/go.mod h1:dkJfzwRKNiegxyNb54X/3fLwhCynbMspSyWKnvi1
github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
github.com/qor/oss v0.0.0-20230717083721-c04686f83630 h1:CRi4xF7B8aGX/y48NCjarNdCIYZ9ZYRr3SLzzTEccOU=
github.com/qor/oss v0.0.0-20230717083721-c04686f83630/go.mod h1:FDxJAVwmZ1j8ITcKJExFlzkTYuUor1dBKZgNVWqEqlM=
github.com/qor5/admin v0.0.0-20231009020927-485bb3c7c83b h1:zOGIeZCo1kV2UVojeJxfHF7g6nxOeKhe8ZQj+284ohg=
github.com/qor5/admin v0.0.0-20231009020927-485bb3c7c83b/go.mod h1:OukkFSjsJaN0FKHBCsZOy/5Mzo/eR8sJJbm8w85Vf4g=
github.com/qor5/admin v0.0.0-20231018094342-8abd2359e13e h1:SjRk3SykBhxB9ls9433MM3GX72ZY1JM2+8QdHQRf1UY=
github.com/qor5/admin v0.0.0-20231018094342-8abd2359e13e/go.mod h1:+JKKtMqofmH2cFftJWUGyY7Y5FZcvK89EHp6foE1PXc=
github.com/qor5/ui v1.0.1-0.20230913083355-743825ff29b1 h1:6ZIyg13zG0ki2yE2XcFN20RkwCMUjIJkYHCGIIqrq5c=
github.com/qor5/ui v1.0.1-0.20230913083355-743825ff29b1/go.mod h1:bgBqjIytHRdfTsiZea8df/ltAcyQyuHiLbecgo8Iwgw=
github.com/qor5/web v1.3.1 h1:KtDoKkOhOTk8TGdR4A/dIs1wtNi8jRnb1omybAKE39M=
Expand Down

0 comments on commit 064a895

Please sign in to comment.