We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 214248f commit f1dbf82Copy full SHA for f1dbf82
1 file changed
react/src/pages/DeploymentDetailPage.tsx
@@ -21,6 +21,7 @@ import {
21
BAICard,
22
BAIFlex,
23
BAIUnmountAfterClose,
24
+ INITIAL_FETCH_KEY,
25
toGlobalId,
26
useFetchKey,
27
} from 'backend.ai-ui';
@@ -83,7 +84,11 @@ const DeploymentDetailPage: React.FC = () => {
83
84
{
85
deploymentId: deploymentGlobalId,
86
},
- { fetchKey },
87
+ {
88
+ fetchKey,
89
+ fetchPolicy:
90
+ fetchKey === INITIAL_FETCH_KEY ? 'store-and-network' : 'network-only',
91
+ },
92
);
93
94
if (!deployment) {
0 commit comments