diff --git a/package.json b/package.json index f8c8f170..cf8ad7cc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@soramitsu/soramitsu-js-ui", - "version": "0.8.3", + "version": "0.8.4", "private": false, "publishConfig": { "registry": "https://nexus.iroha.tech/repository/npm-soramitsu/" diff --git a/src/components/Dialog/SDialog.vue b/src/components/Dialog/SDialog.vue index ff094302..d838d025 100644 --- a/src/components/Dialog/SDialog.vue +++ b/src/components/Dialog/SDialog.vue @@ -22,7 +22,9 @@ @closed="handleAfterClosed" > - +
+ +
@@ -132,6 +134,12 @@ export default class SDialog extends Mixins(BorderRadiusMixin) { * `(done: boolean) => {}` */ @Prop({ type: Function }) readonly beforeClose!: (done: boolean) => {} + /** + * Key for dialog content. + * If you need force rerender of table content (for instance, columns were changed) + * or something else in the dialog, you should set some condition value here. + */ + @Prop({ default: '', type: [String, Number] }) readonly contentKey!: string | number @Ref('dialog') dialog!: any