mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-22 23:03:00 +08:00
Merge pull request #7141 from lasniscinote/gl_SCI_10220
(fix) Add shortcut to add new step (+) after the last step [SCI-10220]
This commit is contained in:
commit
512bf155c3
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…
Reference in a new issue