mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-01-23 10:45:27 +00:00
Bug fix: Fixes bug where adding multiple M3U accounts in a row would only modify the first M3U account that was added unless you refresh the web UI.
This commit is contained in:
parent
d1aa9fe441
commit
99ad0ecb7b
2 changed files with 6 additions and 3 deletions
|
|
@ -199,6 +199,11 @@ const M3U = ({
|
|||
|
||||
const closeGroupFilter = () => {
|
||||
setGroupFilterModalOpen(false);
|
||||
// After group filter setup for a new account, reset everything
|
||||
form.reset();
|
||||
setFile(null);
|
||||
setPlaylist(null);
|
||||
onClose();
|
||||
};
|
||||
|
||||
const closeFilter = () => {
|
||||
|
|
|
|||
|
|
@ -355,9 +355,7 @@ const M3UTable = () => {
|
|||
};
|
||||
|
||||
const editPlaylist = async (playlist = null) => {
|
||||
if (playlist) {
|
||||
setPlaylist(playlist);
|
||||
}
|
||||
setPlaylist(playlist);
|
||||
setPlaylistModalOpen(true);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue