Skip to content

Commit 5b42bda

Browse files
committed
Drop NaturalAbstractList.showTable() #11966
Because in the vast majority of case using `showTable()` as a condition to show/hide the mat-table will introduce a bug. If a search yield no results, then cancelling that search will never show anything anymore. The page is stuck forever in "no result" state. In the extremely rare cases we actually want to hide the table, we can hardcode the condition locally.
1 parent ecf3f09 commit 5b42bda

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
"@angular/router": "^21.1.1",
2727
"@apollo/client": "^3.13.7",
2828
"@ecodev/fab-speed-dial": "^21.0.2",
29-
"@ecodev/natural": "^68.1.2",
30-
"@ecodev/natural-editor": "^68.1.2",
29+
"@ecodev/natural": "^69.0.0",
30+
"@ecodev/natural-editor": "^69.0.0",
3131
"@ecodev/natural-layout": "^2.0.2",
3232
"@graphql-codegen/cli": "^6.0.0",
3333
"@graphql-codegen/typescript-apollo-angular": "^4.0.1",

yarn.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -880,10 +880,10 @@
880880
dependencies:
881881
tslib "^2.8.1"
882882

883-
"@ecodev/natural-editor@^68.1.2":
884-
version "68.1.2"
885-
resolved "https://registry.yarnpkg.com/@ecodev/natural-editor/-/natural-editor-68.1.2.tgz#a878ef6f47c9014bf4041255c5f5451a7a390e82"
886-
integrity sha512-l9yAeyPga5JOLh5wP/NbJDx4M3fx9ICPGCvnhVm+5biXduDcvqQoyKNso3ixG+bO0r8hpUFZ7UKYb47GAbNOVQ==
883+
"@ecodev/natural-editor@^69.0.0":
884+
version "69.0.0"
885+
resolved "https://registry.yarnpkg.com/@ecodev/natural-editor/-/natural-editor-69.0.0.tgz#6ca92b7d17b22ee20cdf7640902434ac4ce19237"
886+
integrity sha512-h9S9n2TIVZPaw++n62tvtADVOjc6NhRve1Ane4+zTUHL0BzQDokENlzDGNvPQjpe9QFcAfiMel71btWtIb3UYg==
887887
dependencies:
888888
prosemirror-commands "^1.5.2"
889889
prosemirror-dropcursor "^1.8.1"
@@ -905,10 +905,10 @@
905905
resolved "https://registry.yarnpkg.com/@ecodev/natural-layout/-/natural-layout-2.0.5.tgz#18d426156171aa9e27f571c238af9712ab3fb495"
906906
integrity sha512-PcMT248B/XVOTdYUcpPhCdL2BbxwoxZghATnPSew4TMVMlLgk65bfMi2uY05Ywb+hPdbjwIJWZ7zepFlr/vDKw==
907907

908-
"@ecodev/natural@^68.1.2":
909-
version "68.1.2"
910-
resolved "https://registry.yarnpkg.com/@ecodev/natural/-/natural-68.1.2.tgz#51570c1163b34ca58aab940cde0c66b7a3c600e1"
911-
integrity sha512-IFl1fBVUyOnRBFH0II+i11eSQ7UmTrlN5Cc445NkA1Tyf+dzwecrB5ynOzJc+rr8yLsPrmlPlwd8WZu9eoClPQ==
908+
"@ecodev/natural@^69.0.0":
909+
version "69.0.0"
910+
resolved "https://registry.yarnpkg.com/@ecodev/natural/-/natural-69.0.0.tgz#27e5345dca7cfbbb97f5335decef8e6e8071e7dd"
911+
integrity sha512-I3DeYCTtxkqSl+V8CiMOZMDGSWGE/NLPr1vaOeM90q38CV5ffcRa5T9pYbbOgaEKNyydeEQaeHe6jvnz+DcT2A==
912912
dependencies:
913913
extract-files "^13.0.0"
914914
tslib "^2.8.1"

0 commit comments

Comments
 (0)