File tree Expand file tree Collapse file tree 3 files changed +12
-14
lines changed Expand file tree Collapse file tree 3 files changed +12
-14
lines changed Original file line number Diff line number Diff line change 7070 "@radix-ui/react-radio-group" : " ^1.1.3" ,
7171 "@radix-ui/react-select" : " ^2.0.0" ,
7272 "@radix-ui/react-tooltip" : " ^1.0.7" ,
73- "@zenuml/core" : " ^3.24.30 " ,
73+ "@zenuml/core" : " ^3.27.9 " ,
7474 "clsx" : " ^2.0.0" ,
7575 "code-blast-codemirror" : " chinchang/code-blast-codemirror#web-maker" ,
7676 "codemirror" : " ^5.65.16" ,
Original file line number Diff line number Diff line change @@ -133,9 +133,13 @@ export default class SavedItemPane extends Component {
133133
134134 filteredItems ( ) {
135135 return this . items . filter (
136- ( item ) =>
137- ! this . state . searchText ||
138- item . title . toLowerCase ( ) . indexOf ( this . state . searchText ) !== - 1 ,
136+ ( item ) => {
137+ const searchQuery = this . state . searchText ?. toLowerCase ( ) || '' ;
138+ const titleMatch = item . title ?. toLowerCase ( ) . includes ( searchQuery ) ;
139+ const dslMatch = item . js ?. toLowerCase ( ) . includes ( searchQuery ) ;
140+
141+ return ! this . state . searchText || titleMatch || dslMatch ;
142+ } ,
139143 ) ;
140144 }
141145
Original file line number Diff line number Diff line change 33023302 resolved "https://registry.yarnpkg.com/@xtuc/long/-/long-4.2.2.tgz#d291c6a4e97989b5c61d9acf396ae4fe133a718d"
33033303 integrity sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==
33043304
3305- "@zenuml/core@^3.24.30 ":
3306- version "3.24.30 "
3307- resolved "https://registry.yarnpkg.com/@zenuml/core/-/core-3.24.30 .tgz#86747967b0f80c0be2bd799c146e744a96e2e3c3 "
3308- integrity sha512-2VFkVw86f0i/dV0Orw5Nh7+uTyO6+2JLeD092zCWsSX/TaXs8OnjQePDVVce6AwttB2vjHXfLiYQSZ8pZrkZcA ==
3305+ "@zenuml/core@^3.27.9 ":
3306+ version "3.27.9 "
3307+ resolved "https://registry.yarnpkg.com/@zenuml/core/-/core-3.27.9 .tgz#24c399692694d106c137765fc6a92681758a464f "
3308+ integrity sha512-GzUJGKICKk/ZkgEb742ml4XnOaYmkbVkItEiEWP0Or+j2MYUvpaNcnDbtfKvtXd72D5x6IW/XD3fpyW9zs2Kpw ==
33093309 dependencies:
33103310 "@headlessui-float/vue" "^0.14.0"
33113311 "@headlessui/tailwindcss" "^0.2.0"
33273327 ramda "^0.28.0"
33283328 tailwindcss "^3.2.4"
33293329 vue "^3.2.45"
3330- vue-property-decorator "^9.1.2"
33313330 vuex "^4.1.0"
33323331
33333332abab@^2.0.0:
@@ -17567,11 +17566,6 @@ vue-demi@>=0.13.0:
1756717566 resolved "https://registry.yarnpkg.com/vue-demi/-/vue-demi-0.14.8.tgz#00335e9317b45e4a68d3528aaf58e0cec3d5640a"
1756817567 integrity sha512-Uuqnk9YE9SsWeReYqK2alDI5YzciATE0r2SkA6iMAtuXvNTMNACJLJEXNXaEy94ECuBe4Sk6RzRU80kjdbIo1Q==
1756917568
17570- vue-property-decorator@^9.1.2:
17571- version "9.1.2"
17572- resolved "https://registry.yarnpkg.com/vue-property-decorator/-/vue-property-decorator-9.1.2.tgz#266a2eac61ba6527e2e68a6933cfb98fddab5457"
17573- integrity sha512-xYA8MkZynPBGd/w5QFJ2d/NM0z/YeegMqYTphy7NJQXbZcuU6FC6AOdUAcy4SXP+YnkerC6AfH+ldg7PDk9ESQ==
17574-
1757517569vue@^3.2.45:
1757617570 version "3.3.4"
1757717571 resolved "https://registry.yarnpkg.com/vue/-/vue-3.3.4.tgz#8ed945d3873667df1d0fcf3b2463ada028f88bd6"
You can’t perform that action at this time.
0 commit comments