refactor: 💡 update how we determine is pagination is supported (#2122)
This commit is contained in:
1 parent
13f1c5cc23
commit
cb972cfc8a
3 files changed
+11
-9
No files matched your search
@@ -74,10 +74,10 @@ function routes() {
|
||||
});
|
||||
}
|
||||
const filteredResultSet = resultSet.filter(makeBooleanFilter(filter));
|
||||
// add a list_token to the response to simulate pagination
|
||||
// without having list_token, the unsupported controller modal
|
||||
// add a response_type to the response to simulate pagination
|
||||
// without having response_type, the unsupported controller modal
|
||||
// will show when running with mirage
|
||||
return { items: filteredResultSet.models, list_token: '12345' };
|
||||
return { items: filteredResultSet.models, response_type: 'complete' };
|
||||
},
|
||||
);
|
||||
this.post('/scopes', function ({ scopes }) {
|
||||
|
||||
Reference in new issue
Block a user