mirror of
https://github.com/antebudimir/feishin.git
synced 2025-12-31 10:03:33 +00:00
Fix query not setting properly on render after save
This commit is contained in:
parent
4058ab7491
commit
9a809a61dd
2 changed files with 9 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ import { useDeletePlaylist } from '/@/renderer/features/playlists/mutations/dele
|
|||
import { Button, Paper, Text, toast, VirtualGridContainer } from '/@/renderer/components';
|
||||
import { SaveAsPlaylistForm } from '/@/renderer/features/playlists/components/save-as-playlist-form';
|
||||
import { useCurrentServer } from '/@/renderer/store';
|
||||
import { ServerType, SongListSort, SortOrder } from '/@/renderer/api/types';
|
||||
import { ServerType, SongListSort } from '/@/renderer/api/types';
|
||||
|
||||
const PlaylistDetailSongListRoute = () => {
|
||||
const navigate = useNavigate();
|
||||
|
|
@ -178,6 +178,7 @@ const PlaylistDetailSongListRoute = () => {
|
|||
<Text>Query Editor</Text>
|
||||
</Group>
|
||||
<PlaylistQueryBuilder
|
||||
key={JSON.stringify(detailQuery?.data?.rules)}
|
||||
isSaving={createPlaylistMutation?.isLoading}
|
||||
limit={detailQuery?.data?.rules?.limit}
|
||||
query={detailQuery?.data?.rules}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue