mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 13:37:30 +00:00
Fix disk encryption key modal to not show stale key when switching between hosts (#42444)
Resolves: #42443 - [X] Changes file added for user-visible changes in `changes/`, `orbit/changes/` or `ee/fleetd-chrome/changes`. See [Changes files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/guides/committing-changes.md#changes-files) for more information. ## Testing - [X] QA'd all new/changed functionality manually
This commit is contained in:
parent
b42fc182fe
commit
f559c6db79
2 changed files with 2 additions and 1 deletions
1
changes/42443-fix-show-disk-encryption-key-modal
Normal file
1
changes/42443-fix-show-disk-encryption-key-modal
Normal file
|
|
@ -0,0 +1 @@
|
|||
* Fixed disk encryption key modal to not show stale key when switching between hosts.
|
||||
|
|
@ -30,7 +30,7 @@ const DiskEncryptionKeyModal = ({
|
|||
IHostEncrpytionKeyResponse,
|
||||
unknown,
|
||||
string
|
||||
>("hostEncrpytionKey", () => hostAPI.getEncryptionKey(hostId), {
|
||||
>(["hostEncrpytionKey", hostId], () => hostAPI.getEncryptionKey(hostId), {
|
||||
refetchOnMount: false,
|
||||
refetchOnReconnect: false,
|
||||
refetchOnWindowFocus: false,
|
||||
|
|
|
|||
Loading…
Reference in a new issue