mirror of
https://github.com/foss42/apidash.git
synced 2025-06-17 11:54:51 +08:00
fix: prompt when changes made to reorder
This commit is contained in:
@ -75,6 +75,7 @@ class CollectionStateNotifier
|
|||||||
final itemId = itemIds.removeAt(oldIdx);
|
final itemId = itemIds.removeAt(oldIdx);
|
||||||
itemIds.insert(newIdx, itemId);
|
itemIds.insert(newIdx, itemId);
|
||||||
ref.read(requestSequenceProvider.notifier).state = [...itemIds];
|
ref.read(requestSequenceProvider.notifier).state = [...itemIds];
|
||||||
|
changed = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void remove(String id) {
|
void remove(String id) {
|
||||||
|
Reference in New Issue
Block a user