Skip to content

Commit b381399

Browse files
wip: Provide a simplified editor #1118
1 parent 9b5f051 commit b381399

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/client/components/KEditor.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -85,15 +85,15 @@ async function apply () {
8585
try {
8686
await service.create(values)
8787
if (_.has(props, 'notify.created.success')) Notify.create({ type: 'positive', message: i18n.t(_.get(props, 'notify.created.success')) })
88-
} catch (error) {
88+
} catch () {
8989
if (_.has(props, 'notify.created.error')) Notify.create({ type: 'negative', message: i18n.t(_.get(props, 'notify.created.error')) })
9090
}
9191
} else {
9292
logger.debug(`[KDK] Patch object ${props.object._id} with data`, response.values)
9393
try {
9494
await service.patch(props.object._id, response.values)
9595
if (_.has(props, 'notify.updated.success')) Notify.create({ type: 'positive', message: i18n.t(_.get(props, 'notify.updated.success')) })
96-
} catch (error) {
96+
} catch () {
9797
if (_.has(props, 'notify.updated.error')) Notify.create({ type: 'negative', message: i18n.t(_.get(props, 'notify.updated.error')) })
9898
}
9999
}

0 commit comments

Comments
 (0)