Skip to content

Commit 5b1fa7f

Browse files
committed
Warning text updated
1 parent 5dce378 commit 5b1fa7f

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

main/src/components/Dashboard/saveCustomQueriesToPod/saveCustomToPod.jsx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ export default function SaveCustomToPod() {
165165
onClose={() => { setConfirmDialog(false) }}
166166
>
167167
<DialogTitle color={"darkorange"} sx={{ textAlign: 'center', fontWeight: 'bold', mt: '15px' }}>
168-
WARNING: Loading queries from a pod
168+
WARNING: Loading custom queries from a pod
169169
</DialogTitle>
170170

171171
<IconButton
@@ -184,10 +184,14 @@ export default function SaveCustomToPod() {
184184

185185
<DialogContent sx={{ mx: '15px' }}>
186186
<DialogContentText >
187-
You have two options: you can either <b> add the new queries alongside your existing ones</b>, or <b> overwrite them completely </b>. <br /><br />
187+
You have two options: you can either <b> add new queries</b>, or <b> overwrite existing queries</b>. <br /><br />
188188

189-
If you choose to overwrite, <b> all of your local custom queries will be deleted and replaced </b> with the new ones.
190-
To avoid losing any important data, make sure to save your current queries to a separate file on the pod before proceeding.
189+
If you choose to add, <b> new custom queries will be added</b> alongside the existing local custom queries.
190+
Local custom queries with matching "id" properties will not be overwritten.<br /><br />
191+
192+
If you choose to overwrite, <b> all of your local custom queries will be deleted</b> and replaced with the new ones.<br /><br />
193+
194+
To save your current combination of local custom queries as is, you may want to save them to a separate file on the pod before proceeding.
191195
</DialogContentText>
192196
</DialogContent>
193197
<DialogActions sx={{ mb: '15px', mx: '15px', justifyContent: 'center', gap: '25px' }}>

0 commit comments

Comments
 (0)