Skip to content

Commit

Permalink
Update annotations api call to pull all annotation layers
Browse files Browse the repository at this point in the history
  • Loading branch information
kgopal492 committed Dec 1, 2023
1 parent 9282831 commit 561bcd5
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,9 @@ class AnnotationLayer extends React.PureComponent {
if (sourceType === ANNOTATION_SOURCE_TYPES.NATIVE) {
SupersetClient.get({
endpoint: `/api/v1/annotation_layer/?q=${rison.encode({
order_column: 'created_on',
order_direction: 'desc',
page: 0,
page_size: -1,
})}`,
}).then(({ json }) => {
Expand Down

0 comments on commit 561bcd5

Please sign in to comment.