mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-05 16:28:49 +01:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
ab3550d44d
6 changed files with 17 additions and 5 deletions
2
.github/workflows/cd.yml
vendored
2
.github/workflows/cd.yml
vendored
|
|
@ -224,7 +224,7 @@ jobs:
|
|||
GOPATH: ${{ github.workspace }}/go
|
||||
GOARCH: ${{ matrix.config.goarch }}
|
||||
|
||||
- name: Building Electron
|
||||
- name: Building Electron App
|
||||
run: pnpm run ${{ matrix.config.electron_args }}
|
||||
working-directory: ${{ github.workspace }}/go/src/github.com/${{ env.repo_owner }}/${{ env.repo_name }}/app
|
||||
|
||||
|
|
|
|||
|
|
@ -689,6 +689,13 @@ func (filter *ViewFilter) GetAffectValue(key *Key, defaultVal *Value) (ret *Valu
|
|||
return nil
|
||||
}
|
||||
|
||||
if FilterOperatorIsEmpty != filter.Operator && FilterOperatorIsNotEmpty != filter.Operator {
|
||||
if filter.Value.IsEmpty() {
|
||||
// 在不是过滤空值和非空值的情况下,空值不设置默认值 https://github.com/siyuan-note/siyuan/issues/11297
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
ret = filter.Value.Clone()
|
||||
ret.CreatedAt = util.CurrentTimeMillis()
|
||||
ret.UpdatedAt = ret.CreatedAt + 1000
|
||||
|
|
|
|||
|
|
@ -2897,6 +2897,11 @@ func updateAttributeViewColumn(operation *Operation) (err error) {
|
|||
if keyValues.Key.ID == operation.ID {
|
||||
keyValues.Key.Name = strings.TrimSpace(operation.Name)
|
||||
keyValues.Key.Type = colType
|
||||
|
||||
for _, value := range keyValues.Values {
|
||||
value.Type = colType
|
||||
}
|
||||
|
||||
break
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,9 +27,9 @@ export GOARCH=arm64
|
|||
go build --tags fts5 -v -o "../app/kernel-darwin-arm64/SiYuan-Kernel" -ldflags "-s -w" .
|
||||
cd ..
|
||||
|
||||
echo 'Building Electron'
|
||||
echo 'Building Electron App amd64'
|
||||
cd app
|
||||
pnpm run dist-darwin
|
||||
echo 'Building Electron arm64'
|
||||
echo 'Building Electron App arm64'
|
||||
pnpm run dist-darwin-arm64
|
||||
cd ..
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ export GOARCH=amd64
|
|||
go build --tags fts5 -v -o "../app/kernel-linux/SiYuan-Kernel" -ldflags "-s -w" .
|
||||
cd ..
|
||||
|
||||
echo 'Building Electron'
|
||||
echo 'Building Electron App'
|
||||
cd app
|
||||
pnpm run dist-linux
|
||||
cd ..
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ if errorlevel 1 (
|
|||
|
||||
cd ..
|
||||
|
||||
echo 'Building Electron'
|
||||
echo 'Building Electron App'
|
||||
cd app
|
||||
call pnpm run dist
|
||||
if errorlevel 1 (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue