diff options
Diffstat (limited to 'src/stores/ServicesStore.js')
-rw-r--r-- | src/stores/ServicesStore.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/stores/ServicesStore.js b/src/stores/ServicesStore.js index 7300a76c8..20e07e540 100644 --- a/src/stores/ServicesStore.js +++ b/src/stores/ServicesStore.js | |||
@@ -187,13 +187,13 @@ export default class ServicesStore extends Store { | |||
187 | 187 | ||
188 | // patch custom icon deletion | 188 | // patch custom icon deletion |
189 | if (data.customIcon === 'delete') { | 189 | if (data.customIcon === 'delete') { |
190 | data.iconUrl = ''; | 190 | newData.iconUrl = ''; |
191 | data.hasCustomUploadedIcon = false; | 191 | newData.hasCustomUploadedIcon = false; |
192 | } | 192 | } |
193 | 193 | ||
194 | // patch custom icon url | 194 | // patch custom icon url |
195 | if (data.customIconUrl) { | 195 | if (data.customIconUrl) { |
196 | data.iconUrl = data.customIconUrl; | 196 | newData.iconUrl = data.customIconUrl; |
197 | } | 197 | } |
198 | 198 | ||
199 | Object.assign(result.find(c => c.id === serviceId), newData); | 199 | Object.assign(result.find(c => c.id === serviceId), newData); |