mirror of
https://github.com/rowyio/rowy.git
synced 2025-12-29 00:16:39 +01:00
fix table crashing, for filtered group collections
This commit is contained in:
@@ -22,7 +22,10 @@ export const handleFirestoreError = (
|
||||
return;
|
||||
}
|
||||
|
||||
if (error.message.includes("indexes?create_composite=")) {
|
||||
if (
|
||||
error.message.includes("indexes?create_composite=") ||
|
||||
error.message.includes("/firestore/indexes?")
|
||||
) {
|
||||
enqueueSnackbar(
|
||||
"Filtering while having another column sorted requires a new Firestore index",
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user