|
14 | 14 | <template #default="{ errors, inputChanged }"> |
15 | 15 | <base-input-select |
16 | 16 | v-model="ANOMALOUSSCATTERER" |
17 | | - :is-disabled="!canEditRow(sample['INDEX'], currentEditingRow)" |
| 17 | + :is-disabled="!canEditRow(sample['LOCATION'], currentEditingRow)" |
18 | 18 | :options="anomalousOptionsList" |
19 | 19 | input-class="tw-w-full tw-h-8" |
20 | 20 | option-value-key="value" |
|
36 | 36 | <template #default="{ errors, inputChanged }"> |
37 | 37 | <base-input-text |
38 | 38 | v-model="CODE" |
39 | | - :disabled="!canEditRow(sample['INDEX'], currentEditingRow)" |
| 39 | + :disabled="!canEditRow(sample['LOCATION'], currentEditingRow)" |
40 | 40 | input-class="tw-w-full tw-h-8" |
41 | 41 | @value-changed="inputChanged" |
42 | 42 | /> |
|
52 | 52 | <template #default="{ errors, inputChanged }"> |
53 | 53 | <base-input-text |
54 | 54 | v-model="COMMENTS" |
55 | | - :disabled="!canEditRow(sample['INDEX'], currentEditingRow)" |
| 55 | + :disabled="!canEditRow(sample['LOCATION'], currentEditingRow)" |
56 | 56 | input-class="tw-w-full tw-h-8" |
57 | 57 | @value-changed="inputChanged" |
58 | 58 | dataTestId="add-container-sample-comment" |
|
89 | 89 | <template #default="{ errors, inputChanged }"> |
90 | 90 | <base-input-text |
91 | 91 | v-model="USERPATH" |
92 | | - :disabled="!canEditRow(sample['INDEX'], currentEditingRow)" |
| 92 | + :disabled="!canEditRow(sample['LOCATION'], currentEditingRow)" |
93 | 93 | input-class="tw-w-full tw-h-8" |
94 | 94 | :error-message="errors[0]" |
95 | 95 | :quiet="true" |
|
108 | 108 | <template #default="{errors, inputChanged}"> |
109 | 109 | <base-input-select |
110 | 110 | v-model="SPACEGROUP" |
111 | | - :is-disabled="!canEditRow(sample['INDEX'], currentEditingRow)" |
| 111 | + :is-disabled="!canEditRow(sample['LOCATION'], currentEditingRow)" |
112 | 112 | :options="spaceGroupList" |
113 | 113 | option-value-key="value" |
114 | 114 | option-text-key="text" |
|
134 | 134 | <template #default="{errors, inputChanged}"> |
135 | 135 | <base-input-text |
136 | 136 | v-model="CELL_A" |
137 | | - :disabled="!canEditRow(sample['INDEX'], currentEditingRow)" |
| 137 | + :disabled="!canEditRow(sample['LOCATION'], currentEditingRow)" |
138 | 138 | placeholder-text="A" |
139 | 139 | :quiet="true" |
140 | 140 | type="number" |
|
157 | 157 | <template #default="{ errors, inputChanged }"> |
158 | 158 | <base-input-text |
159 | 159 | v-model="CELL_B" |
160 | | - :disabled="!canEditRow(sample['INDEX'], currentEditingRow)" |
| 160 | + :disabled="!canEditRow(sample['LOCATION'], currentEditingRow)" |
161 | 161 | placeholder-text="B" |
162 | 162 | :quiet="true" |
163 | 163 | type="number" |
|
180 | 180 | <template #default="{errors, inputChanged}"> |
181 | 181 | <base-input-text |
182 | 182 | v-model="CELL_C" |
183 | | - :disabled="!canEditRow(sample['INDEX'], currentEditingRow)" |
| 183 | + :disabled="!canEditRow(sample['LOCATION'], currentEditingRow)" |
184 | 184 | placeholder-text="C" |
185 | 185 | input-class="tw-w-12 tw-h-8 tabbed-sample-column" |
186 | 186 | type="number" |
|
206 | 206 | <template #default="{errors, inputChanged}"> |
207 | 207 | <base-input-text |
208 | 208 | v-model="CELL_ALPHA" |
209 | | - :disabled="!canEditRow(sample['INDEX'], currentEditingRow)" |
| 209 | + :disabled="!canEditRow(sample['LOCATION'], currentEditingRow)" |
210 | 210 | placeholder-text="α" |
211 | 211 | input-class="tw-w-12 tw-h-8 tabbed-sample-column" |
212 | 212 | :quiet="true" |
|
229 | 229 | <template #default="{ errors, inputChanged }"> |
230 | 230 | <base-input-text |
231 | 231 | v-model="CELL_BETA" |
232 | | - :disabled="!canEditRow(sample['INDEX'], currentEditingRow)" |
| 232 | + :disabled="!canEditRow(sample['LOCATION'], currentEditingRow)" |
233 | 233 | placeholder-text="β" |
234 | 234 | input-class="tw-w-12 tw-h-8 tabbed-sample-column" |
235 | 235 | type="number" |
|
252 | 252 | <template #default="{errors, inputChanged}"> |
253 | 253 | <base-input-text |
254 | 254 | v-model="CELL_GAMMA" |
255 | | - :disabled="!canEditRow(sample['INDEX'], currentEditingRow)" |
| 255 | + :disabled="!canEditRow(sample['LOCATION'], currentEditingRow)" |
256 | 256 | placeholder-text="γ" |
257 | 257 | input-class="tw-w-12 tw-h-8 tabbed-sample-column" |
258 | 258 | type="number" |
|
282 | 282 | <template #default="{errors, inputChanged }"> |
283 | 283 | <base-input-select |
284 | 284 | v-model="CENTRINGMETHOD" |
285 | | - :is-disabled="!canEditRow(sample['INDEX'], currentEditingRow)" |
| 285 | + :is-disabled="!canEditRow(sample['LOCATION'], currentEditingRow)" |
286 | 286 | :options="centringMethodList" |
287 | 287 | option-value-key="value" |
288 | 288 | option-text-key="text" |
|
305 | 305 | <template #default="{errors, inputChanged}"> |
306 | 306 | <base-input-select |
307 | 307 | v-model="EXPERIMENTKIND" |
308 | | - :is-disabled="!canEditRow(sample['INDEX'], currentEditingRow)" |
| 308 | + :is-disabled="!canEditRow(sample['LOCATION'], currentEditingRow)" |
309 | 309 | :options="experimentKindList" |
310 | 310 | input-class="tw-w-full tw-h-8" |
311 | 311 | option-value-key="value" |
|
328 | 328 | <template #default="{errors, inputChanged }"> |
329 | 329 | <base-input-text |
330 | 330 | v-model="ENERGY" |
331 | | - :disabled="!canEditRow(sample['INDEX'], currentEditingRow)" |
| 331 | + :disabled="!canEditRow(sample['LOCATION'], currentEditingRow)" |
332 | 332 | input-class="tw-w-full tw-h-8 tabbed-sample-column" |
333 | 333 | type="number" |
334 | 334 | :step="1" |
|
350 | 350 | <template #default="{ errors, inputChanged }"> |
351 | 351 | <base-input-select |
352 | 352 | v-model="ANOMALOUSSCATTERER" |
353 | | - :is-disabled="!canEditRow(sample['INDEX'], currentEditingRow)" |
| 353 | + :is-disabled="!canEditRow(sample['LOCATION'], currentEditingRow)" |
354 | 354 | :options="anomalousOptionsList" |
355 | 355 | option-value-key="value" |
356 | 356 | input-class="tw-w-full tw-h-8" |
|
372 | 372 | <template #default="{ errors, inputChanged }"> |
373 | 373 | <base-input-select |
374 | 374 | v-model="SCREENINGMETHOD" |
375 | | - :is-disabled="!canEditRow(sample['INDEX'], currentEditingRow)" |
| 375 | + :is-disabled="!canEditRow(sample['LOCATION'], currentEditingRow)" |
376 | 376 | :options="screeningMethodList" |
377 | 377 | option-value-key="value" |
378 | 378 | option-text-key="text" |
|
395 | 395 | <template #default="{ errors, inputChanged}"> |
396 | 396 | <base-input-text |
397 | 397 | v-model="REQUIREDRESOLUTION" |
398 | | - :disabled="!canEditRow(sample['INDEX'], currentEditingRow) || sample['SCREENINGMETHOD'] !== 'none'" |
| 398 | + :disabled="!canEditRow(sample['LOCATION'], currentEditingRow) || sample['SCREENINGMETHOD'] !== 'none'" |
399 | 399 | type="number" |
400 | 400 | :step="1" |
401 | 401 | input-class="tw-w-full tw-h-8 tabbed-sample-column" |
|
417 | 417 | <template #default="{ errors, inputChanged }"> |
418 | 418 | <base-input-text |
419 | 419 | v-model="MINIMUMRESOLUTION" |
420 | | - :disabled="!canEditRow(sample['INDEX'], currentEditingRow) || sample['SCREENINGMETHOD'] !== 'all'" |
| 420 | + :disabled="!canEditRow(sample['LOCATION'], currentEditingRow) || sample['SCREENINGMETHOD'] !== 'all'" |
421 | 421 | type="number" |
422 | 422 | :step="1" |
423 | 423 | input-class="tw-w-full tw-h-8 tabbed-sample-column" |
|
439 | 439 | <template #default="{ errors, inputChanged}"> |
440 | 440 | <base-input-text |
441 | 441 | v-model="SCREENINGCOLLECTVALUE" |
442 | | - :disabled="!canEditRow(sample['INDEX'], currentEditingRow) || sample['SCREENINGMETHOD'] !== 'best'" |
| 442 | + :disabled="!canEditRow(sample['LOCATION'], currentEditingRow) || sample['SCREENINGMETHOD'] !== 'best'" |
443 | 443 | type="number" |
444 | 444 | :step="1" |
445 | 445 | input-class="tw-w-full tw-h-8 tabbed-sample-column" |
|
0 commit comments