Fleet UI: (Unreleased bug) Platform compatibility always loads (#12876)

## Issue
Cerra #12859 

## Description
- Ensure compatibility is being calculated and rendered even if query
has loaded before

## Screen recording clicking back and forth into same query and still
seeing compatibility

# Checklist for submitter

If some of the following don't apply, delete the relevant line.

- [x] Manual QA for all new/changed functionality
This commit is contained in:
RachelElysia 2023-07-20 14:41:21 -04:00 committed by GitHub
parent 87a7a508a9
commit 640e9a8dda
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -165,7 +165,7 @@ const QueryForm = ({
}
debounceSQL(lastEditedQueryBody);
}, [lastEditedQueryBody, lastEditedQueryId]);
}, [lastEditedQueryBody, lastEditedQueryId, isStoredQueryLoading]);
const hasTeamMaintainerPermissions = savedQueryMode
? isAnyTeamMaintainerOrTeamAdmin &&