mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-06 03:46:39 +08:00
Hide rearrange button, if not enough elements in step [SCI-11440]
This commit is contained in:
parent
701bfd313e
commit
cd8857d83d
1 changed files with 1 additions and 1 deletions
|
@ -426,7 +426,7 @@
|
|||
},
|
||||
actionsMenu() {
|
||||
let menu = [];
|
||||
if (this.urls.reorder_elements_url) {
|
||||
if (this.urls.reorder_elements_url && this.elements.length > 1) {
|
||||
menu = menu.concat([{
|
||||
text: this.i18n.t('protocols.steps.options_dropdown.rearrange'),
|
||||
emit: 'reorder',
|
||||
|
|
Loading…
Add table
Reference in a new issue