Skip to content

Commit

Permalink
Merge pull request #1 from lucidlogic/patch-1
Browse files Browse the repository at this point in the history
Patch 1
  • Loading branch information
lucidlogic committed Feb 14, 2021
2 parents dc4975c + a71dfb8 commit 34056e9
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dist/js/tool.js

Large diffs are not rendered by default.

11 changes: 9 additions & 2 deletions resources/js/components/CustomDetailToolbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
:key="action.uriKey"
:action="action"
@action-button-clicked="handleClick"></action-button>
<transition name="fade">
<!-- Action confirmation and response modals -->
<portal to="modals" transition="fade-transition">
<component
:is="selectedAction.component"
:working="working"
Expand All @@ -24,7 +25,13 @@
@confirm="executeAction"
@close="confirmActionModalOpened = false"
/>
</transition>
<component
:is="actionResponseData.modal"
@close="closeActionResponseModal"
v-if="showActionResponseModal"
:data="actionResponseData"
/>
</portal>
</div>
</template>

Expand Down
14 changes: 11 additions & 3 deletions resources/js/components/CustomIndexToolbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
:key="action.uriKey"
:action="action"
@action-button-clicked="handleClick"></action-button>
<transition name="fade">
<!-- Action confirmation and response modals -->
<portal to="modals" transition="fade-transition">
<component
:is="selectedAction.component"
:working="working"
Expand All @@ -22,8 +23,15 @@
:action="selectedAction"
:errors="errors"
@confirm="executeAction"
@close="confirmActionModalOpened = false"/>
</transition>
@close="confirmActionModalOpened = false"
/>
<component
:is="actionResponseData.modal"
@close="closeActionResponseModal"
v-if="showActionResponseModal"
:data="actionResponseData"
/>
</portal>
</div>
</template>
<script>
Expand Down

0 comments on commit 34056e9

Please sign in to comment.