We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e0ceb5 commit fd87f03Copy full SHA for fd87f03
internal/adapters/entrypoints/rest/assets/static/management.js
@@ -258,7 +258,8 @@ function getConfirmationConfig(sectionId) {
258
if (!tempArray[idx]) tempArray[idx] = {};
259
260
if (input.value.trim() === '') {
261
- showErrorToast(`Please enter a non-empty value for "${input.dataset.field === 'amount' ? 'rBTC amount' : 'confirmations'}."`);
+ const amountLabel = configKey === 'btcConfirmations' ? 'BTC amount' : 'rBTC amount';
262
+ showErrorToast(`Please enter a non-empty value for "${input.dataset.field === 'amount' ? amountLabel : 'confirmations'}."`);
263
throw new Error(`Empty ${input.dataset.field} input`);
264
}
265
0 commit comments