fix(plugin-workflow): fix locale (#1145)

This commit is contained in:
Junyi 2022-11-24 19:01:00 -08:00 committed by GitHub
parent 1213baae82
commit f4c195e576
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -148,7 +148,7 @@ export function RemoveButton() {
const hasBranches = !nodes.find(item => item.upstream === current && item.branchIndex != null);
const message = hasBranches
? lang('Are you sure you want to delete it?')
? t('Are you sure you want to delete it?')
: lang('This node contains branches, deleting will also be preformed to them, are you sure?');
Modal.confirm({