Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
yann300 committed Jul 18, 2024
1 parent df9817a commit f65c0d7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion apps/remix-ide-e2e/src/tests/plugin_api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ module.exports = {
.frameParent()
.useCss()
.clickLaunchIcon('udapp')
.waitForElementContainsText('#selectExEnvOptions button', 'Remix VM (Berlin)')
.waitForElementContainsText('#selectExEnvOptions button', 'VM Berlin Fork')
.clickLaunchIcon('localPlugin')
.useXpath()
// @ts-ignore
Expand Down
14 changes: 7 additions & 7 deletions libs/remix-ui/grid-view/src/lib/remix-ui-grid-cell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ export const RemixUIGridCell = (props: RemixUIGridCellProps) => {
if (props.tagList) setAnyEnabled(props.tagList.some((key) => filterCon.keyValueMap[key]?.enabled))
else setAnyEnabled(filterCon?.keyValueMap['no tag']?.enabled)
if (!props.tagList || props.tagList.length == 0) setAnyEnabled(true)
setAnyEnabled(anyEnabled &&
(
props.title.toLowerCase().includes(filterCon.filter) ||
props.title.includes(filterCon.filter)) ||
props?.payload?.toLowerCase().includes(filterCon.filter) ||
props?.payload?.includes(filterCon.filter)
)
setAnyEnabled(anyEnabled &&
(
props.title.toLowerCase().includes(filterCon.filter) ||
props.title.includes(filterCon.filter)) ||
props?.payload?.toLowerCase().includes(filterCon.filter) ||
props?.payload?.includes(filterCon.filter)
)
}, [filterCon, props.tagList])

/*const listenOnExpand = (key) => {
Expand Down

0 comments on commit f65c0d7

Please sign in to comment.