mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-27 10:14:17 +08:00
Enable table scroll for locked tasks [SCI-7125] (#4375)
This commit is contained in:
parent
62a66f3431
commit
74b9101e6f
1 changed files with 6 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<div class="step-table-container" :class="{ 'step-element--locked': locked }">
|
||||
<div class="step-element-header" :class="{ 'editing-name': editingName }">
|
||||
<div class="step-table-container">
|
||||
<div class="step-element-header" :class="{ 'editing-name': editingName, 'step-element--locked': locked }">
|
||||
<div v-if="reorderElementUrl" class="step-element-grip" @click="$emit('reorder')">
|
||||
<i class="fas fas-rotated-90 fa-exchange-alt"></i>
|
||||
</div>
|
||||
|
@ -108,6 +108,10 @@
|
|||
},
|
||||
methods: {
|
||||
enableTableEdit() {
|
||||
if(this.locked) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!this.element.attributes.orderable.name) {
|
||||
this.openNameModal();
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue