Skip to content

Commit

Permalink
Fix query editor not scrolling (#322)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffvli committed Oct 22, 2023
1 parent 913e89b commit 3a144ab
Showing 1 changed file with 12 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -189,20 +189,18 @@ const PlaylistDetailSongListRoute = () => {
</Button>
<Text>Query Editor</Text>
</Group>
<Box>
{isQueryBuilderExpanded && (
<PlaylistQueryBuilder
key={JSON.stringify(detailQuery?.data?.rules)}
isSaving={createPlaylistMutation?.isLoading}
limit={detailQuery?.data?.rules?.limit}
query={detailQuery?.data?.rules}
sortBy={detailQuery?.data?.rules?.sort || SongListSort.ALBUM}
sortOrder={detailQuery?.data?.rules?.order || 'asc'}
onSave={handleSave}
onSaveAs={handleSaveAs}
/>
)}
</Box>
{isQueryBuilderExpanded && (
<PlaylistQueryBuilder
key={JSON.stringify(detailQuery?.data?.rules)}
isSaving={createPlaylistMutation?.isLoading}
limit={detailQuery?.data?.rules?.limit}
query={detailQuery?.data?.rules}
sortBy={detailQuery?.data?.rules?.sort || SongListSort.ALBUM}
sortOrder={detailQuery?.data?.rules?.order || 'asc'}
onSave={handleSave}
onSaveAs={handleSaveAs}
/>
)}
</Paper>
</Box>
)}
Expand Down

1 comment on commit 3a144ab

@vercel
Copy link

@vercel vercel bot commented on 3a144ab Oct 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

feishin – ./

feishin-git-development-jeffvli.vercel.app
feishin-jeffvli.vercel.app
feishin.vercel.app

Please sign in to comment.