File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ limitations under the License.
123
123
<q-dialog v-model="showWarningDialog" persistent>
124
124
<zcl-warning-dialog
125
125
title="Do you want to proceed?"
126
- message="ZCL device type is being modified which can cause all the configuration on the endpoint to be cleared and re-adjusted. "
126
+ : message="warningMessage "
127
127
cancel-label="No"
128
128
ok-label="Yes"
129
129
@ok="
@@ -217,6 +217,7 @@ export default {
217
217
primaryDeviceTypeTmp: null, // Temp store for the selected primary device type
218
218
enableMultipleDevice: false,
219
219
enablePrimaryDevice: false,
220
+ warningMessage: '',
220
221
showWarningDialog: false,
221
222
warningDialogReturnValue: null,
222
223
deviceTypeMountSnapshot: null,
@@ -391,6 +392,8 @@ export default {
391
392
let deviceTypeChanged = true
392
393
// this.deviceTypeMountSnapshot
393
394
if (deviceTypeChanged) {
395
+ this.warningMessage =
396
+ 'ZCL device type is being modified which can cause all the configuration on the endpoint to be cleared and re-adjusted.'
394
397
this.showWarningDialog = true
395
398
return
396
399
}
You can’t perform that action at this time.
0 commit comments