Skip to content

Commit c5c11e4

Browse files
authored
[Fix] Cloud save path input field can't be manually edited (#3718)
Fix save path field disabled with the opposite condition
1 parent 1c91af4 commit c5c11e4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/frontend/screens/Settings/sections/SyncSaves/gog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ export default function GOGSyncSaves({
124124
htmlId="inputSavePath"
125125
placeholder={t('setting.savefolder.placeholder')}
126126
path={value.location}
127-
canEditPath={isSyncing}
127+
canEditPath={!isSyncing}
128128
onPathChange={(path) => {
129129
const saves = [...gogSaves]
130130
saves[index] = {

src/frontend/screens/Settings/sections/SyncSaves/legendary.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export default function LegendarySyncSaves({
111111
path={savesPath}
112112
placeholder={t('setting.savefolder.placeholder')}
113113
pathDialogTitle={t('box.sync.title')}
114-
canEditPath={isSyncing}
114+
canEditPath={!isSyncing}
115115
afterInput={
116116
<span
117117
role={'button'}

0 commit comments

Comments
 (0)