mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-28 03:06:28 +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>
|
<template>
|
||||||
<div class="step-table-container" :class="{ 'step-element--locked': locked }">
|
<div class="step-table-container">
|
||||||
<div class="step-element-header" :class="{ 'editing-name': editingName }">
|
<div class="step-element-header" :class="{ 'editing-name': editingName, 'step-element--locked': locked }">
|
||||||
<div v-if="reorderElementUrl" class="step-element-grip" @click="$emit('reorder')">
|
<div v-if="reorderElementUrl" class="step-element-grip" @click="$emit('reorder')">
|
||||||
<i class="fas fas-rotated-90 fa-exchange-alt"></i>
|
<i class="fas fas-rotated-90 fa-exchange-alt"></i>
|
||||||
</div>
|
</div>
|
||||||
|
@ -108,6 +108,10 @@
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
enableTableEdit() {
|
enableTableEdit() {
|
||||||
|
if(this.locked) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (!this.element.attributes.orderable.name) {
|
if (!this.element.attributes.orderable.name) {
|
||||||
this.openNameModal();
|
this.openNameModal();
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue