Browse Source

Merge pull request #6655 from nocodb/develop

pull/6665/head
github-actions[bot] 1 year ago committed by GitHub
parent
commit
c61dc3541e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      .github/workflows/release-npm.yml
  2. 2
      packages/nc-gui/assets/style.scss
  3. 2
      packages/nc-gui/store/sidebar.ts

3
.github/workflows/release-npm.yml

@ -54,10 +54,11 @@ jobs:
registry-url: 'https://registry.npmjs.org'
- run: |
export NODE_OPTIONS="--max_old_space_size=16384"
export NOCODB_SDK_PKG_NAME=nocodb-sdk
export NOCODB_SDK_PKG_NAME="nocodb-sdk"
if [[ "${{ github.event.inputs.targetEnv == 'DEV' || inputs.targetEnv == 'DEV' }}" ]]; then
export NOCODB_SDK_PKG_NAME=nocodb-sdk-daily
fi
echo ${NOCODB_SDK_PKG_NAME}
targetEnv=${{ github.event.inputs.targetEnv || inputs.targetEnv }} targetVersion=${{ github.event.inputs.tag || inputs.tag }} node scripts/bumpNocodbSdkVersion.js &&
pnpm --filter=${NOCODB_SDK_PKG_NAME} install --ignore-scripts --no-frozen-lockfile && pnpm --filter=${NOCODB_SDK_PKG_NAME} run build && pnpm --filter=${NOCODB_SDK_PKG_NAME} publish --no-git-checks &&
sleep 90 &&

2
packages/nc-gui/assets/style.scss

@ -603,7 +603,7 @@ input[type='number'] {
}
.nc-sidebar-node {
@apply !xs:(min-h-12 max-h-12 hover:bg-gray-50 ml-1.5);
@apply !xs:(min-h-12 max-h-12 hover:bg-gray-50 ml-1.5 w-[calc(100%-8px)]);
.nc-emoji {
@apply xs:(text-lg);

2
packages/nc-gui/store/sidebar.ts

@ -12,7 +12,7 @@ export const useSidebarStore = defineStore('sidebarStore', () => {
const _isLeftSidebarOpen = ref(!isViewPortMobile())
const isLeftSidebarOpen = computed({
get() {
return (isMobileMode && !tablesStore.activeTableId) || _isLeftSidebarOpen.value
return (isMobileMode.value && !tablesStore.activeTableId) || _isLeftSidebarOpen.value
},
set(value) {
_isLeftSidebarOpen.value = value

Loading…
Cancel
Save