Alexander Rose 6 anni fa
parent
commit
39615dd593
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/mol-theme/label.ts

+ 1 - 1
src/mol-theme/label.ts

@@ -34,7 +34,7 @@ export function labelFirst(loci: Loci): string {
         case 'group-loci':
         case 'group-loci':
             const g = loci.groups[0]
             const g = loci.groups[0]
             if (g) {
             if (g) {
-                return g.shape.labels.ref.value[OrderedSet.getAt(g.ids, 0)]
+                return loci.shape.labels.ref.value[OrderedSet.getAt(g.ids, 0)]
             } else {
             } else {
                 return 'Unknown'
                 return 'Unknown'
             }
             }