mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-11-08 07:21:03 +08:00
(fix) Add shortcut to add new step (+) after the last step [SCI-10220]
This commit is contained in:
parent
c1161ce9eb
commit
01253da5af
1 changed files with 3 additions and 0 deletions
|
|
@ -185,6 +185,9 @@
|
|||
:reorderStepUrl="steps.length > 1 ? urls.reorder_steps_url : null"
|
||||
:assignableMyModuleId="protocol.attributes.assignable_my_module_id"
|
||||
/>
|
||||
<div v-if="(index === steps.length - 1) && urls.add_step_url" class="insert-step" @click="addStep(index + 1)">
|
||||
<i class="sn-icon sn-icon-new-task"></i>
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="steps.length > 0 && urls.add_step_url && inRepository" class="py-5">
|
||||
<a
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue