Skip to content

Commit

Permalink
feat(release): ready for v1.2.24
Browse files Browse the repository at this point in the history
  • Loading branch information
cg33 committed Nov 26, 2022
1 parent c6bf940 commit 54edfd1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
GOCMD = go
GOBUILD = $(GOCMD) build
BINARY_NAME = adm
LAST_VERSION = v1.2.22
VERSION = v1.2.23
LAST_VERSION = v1.2.23
VERSION = v1.2.24
CLI = adm

TEST_CONFIG_PATH=./../../common/config.json
Expand Down
2 changes: 2 additions & 0 deletions modules/file/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
package file

import (
"fmt"
"io"
"mime/multipart"
"os"
Expand Down Expand Up @@ -73,6 +74,7 @@ func Upload(c UploadFun, form *multipart.Form) error {
}

form.Value[k] = append(form.Value[k], pathStr)
form.Value[k+"_size"] = append(form.Value[k+"_size"], fmt.Sprintf("%d", fileObj.Size))
}
}

Expand Down
2 changes: 1 addition & 1 deletion modules/system/version.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package system

const version = "v1.2.23"
const version = "v1.2.24"

var requireThemeVersion = map[string][]string{
"adminlte": {">=v0.0.41"},
Expand Down
2 changes: 1 addition & 1 deletion template/components/box.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func (compo *BoxAttribute) WithSecondHeadBorder() types.BoxAttribute {
func (compo *BoxAttribute) GetContent() template.HTML {

if compo.Style == "" {
compo.Style = template.HTMLAttr(fmt.Sprintf(`style="overflow-x: scroll;overflow-y: hidden;%s"`, compo.Padding))
compo.Style = template.HTMLAttr(fmt.Sprintf(`style="%s"`, compo.Padding))
} else {
compo.Style = template.HTMLAttr(fmt.Sprintf(`style="%s"`, string(compo.Style)+compo.Padding))
}
Expand Down

0 comments on commit 54edfd1

Please sign in to comment.