fix eslint warning

This commit is contained in:
Martin Raifer
2021-12-01 12:16:19 +01:00
parent ae004a15c5
commit 5761f53c41
+2 -1
View File
@@ -77,13 +77,14 @@ export function operationSplit(context, selectedIDs) {
return t('operations.split.annotation.' + _geometry, { n: _ways.length });
};
operation.icon = function() {
if (_waysAmount === 'multiple') {
return '#iD-operation-split-multiple';
} else {
return '#iD-operation-split';
}
}
};
operation.id = 'split';