Skip to content

Commit 1fd7c81

Browse files
newapxrigor789
authored andcommitted
fix: destroy modal vm when modal is closed (nativescript-vue#131)
1 parent 0b79478 commit 1fd7c81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform/nativescript/plugins/modal-plugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export default {
3333
this.$root.$el.nativeView.showModal(
3434
modalPage,
3535
null,
36-
resolve,
36+
vm.$modal.close,
3737
options.fullscreen
3838
)
3939
})

0 commit comments

Comments
 (0)