From 138d168ed800171cec57a3be663b3482f1b94951 Mon Sep 17 00:00:00 2001 From: Chenyang Date: Wed, 18 Oct 2023 17:57:06 +0800 Subject: [PATCH] Fix example publish editing schedule bar --- docsrc/examples/example_basics/publish.go | 2 +- go.mod | 2 +- go.sum | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docsrc/examples/example_basics/publish.go b/docsrc/examples/example_basics/publish.go index f2a8ecf..4557545 100644 --- a/docsrc/examples/example_basics/publish.go +++ b/docsrc/examples/example_basics/publish.go @@ -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) diff --git a/go.mod b/go.mod index b8a7b9a..c61e64a 100644 --- a/go.mod +++ b/go.mod @@ -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 diff --git a/go.sum b/go.sum index 1c40a77..bc4e742 100644 --- a/go.sum +++ b/go.sum @@ -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=