File tree Expand file tree Collapse file tree 1 file changed +19
-24
lines changed
frontend/components/token-classifier Expand file tree Collapse file tree 1 file changed +19
-24
lines changed Original file line number Diff line number Diff line change 11<template >
22 <div class =" record" >
33 <span class =" record__scroll__container" >
4- <span
5- :class =" [
6- 'record__scroll--large',
7- !allowScroll ? 'record__scroll--prevent' : '',
8- ]"
9- >
4+ <span :class =" [!allowScroll ? 'record__scroll--prevent' : '']" >
105 <re-button
116 v-if =" scrollHeight >= 800"
127 :title =" allowScroll ? 'prevent scroll' : 'allow scroll'"
1914 height =" 14"
2015 ></svgicon >
2116 </re-button >
22- <div ref = " list " v-if =" textSpans.length" >
23- <TextSpan
24- v-for =" (token, i) in textSpans"
25- :key =" i"
26- :record =" record"
27- :span-id =" i"
28- :spans =" textSpans"
29- :dataset =" dataset"
30- :class =" isSelected(i) ? 'selected' : ''"
31- @startSelection =" onStartSelection"
32- @endSelection =" onEndSelection"
33- @selectEntity =" onSelectEntity"
34- @changeEntityLabel =" onChangeEntityLabel"
35- @removeEntity =" onRemoveEntity"
36- @reset =" onReset"
37- />
38- </div >
17+ <div v-if =" textSpans.length" ref = " list " >
18+ <TextSpan
19+ v-for =" (token, i) in textSpans"
20+ :key =" i"
21+ :record =" record"
22+ :span-id =" i"
23+ :spans =" textSpans"
24+ :dataset =" dataset"
25+ :class =" isSelected(i) ? 'selected' : ''"
26+ @startSelection =" onStartSelection"
27+ @endSelection =" onEndSelection"
28+ @selectEntity =" onSelectEntity"
29+ @changeEntityLabel =" onChangeEntityLabel"
30+ @removeEntity =" onRemoveEntity"
31+ @reset =" onReset"
32+ />
33+ </div >
3934 </span >
40- <RecordExtraActions
35+ <RecordExtraActions
4136 :allow-change-status =" annotationEnabled"
4237 :record =" record"
4338 @onChangeRecordStatus =" onChangeRecordStatus"
You can’t perform that action at this time.
0 commit comments