Skip to content

Commit 844a774

Browse files
Removed unused method safeJsonParse
1 parent 4e016a8 commit 844a774

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

resources/js/processes/modeler/components/inspector/TaskAssignment.vue

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -249,22 +249,6 @@
249249
},
250250
},
251251
methods: {
252-
/**
253-
* Safely parse JSON string, returning empty object on error
254-
* @param {string} jsonString - The JSON string to parse
255-
* @returns {object} - Parsed object or empty object if parsing fails
256-
*/
257-
safeJsonParse(jsonString) {
258-
if (!jsonString) {
259-
return {};
260-
}
261-
try {
262-
return JSON.parse(jsonString);
263-
} catch (e) {
264-
console.warn('Failed to parse JSON:', e);
265-
return {};
266-
}
267-
},
268252
getConfigurableValue(configurable) {
269253
switch (configurable) {
270254
case 'LOCK_TASK_ASSIGNMENT':

0 commit comments

Comments
 (0)