@konfuzio/document-validation-ui 0.1.48-dev.0 → 0.1.48-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/js/app.js +1 -1
- package/dist/js/app.js.map +1 -1
- package/package.json +1 -1
- package/src/store/document.js +5 -0
package/package.json
CHANGED
package/src/store/document.js
CHANGED
|
@@ -416,6 +416,11 @@ const getters = {
|
|
|
416
416
|
});
|
|
417
417
|
}
|
|
418
418
|
|
|
419
|
+
// sort ann sets by name
|
|
420
|
+
processedAnnotationSets.sort((a, b) =>
|
|
421
|
+
a.label_set.name.localeCompare(b.label_set.name)
|
|
422
|
+
);
|
|
423
|
+
|
|
419
424
|
return {
|
|
420
425
|
annotationSets: processedAnnotationSets,
|
|
421
426
|
labels: processedLabels,
|