Use translated text on disabled button of splitRoadWizard

This commit is contained in:
Pieter Vander Vennet 2023-01-03 01:01:59 +01:00
parent 65f8a4c3e4
commit b4f739e506

View file

@ -113,7 +113,7 @@ export default class SplitRoadWizard extends Combine {
}) })
saveButton.SetClass("btn btn-primary mr-3") saveButton.SetClass("btn btn-primary mr-3")
const disabledSaveButton = new Button("Split", undefined) const disabledSaveButton = new Button(t.split.Clone(), undefined)
disabledSaveButton.SetClass("btn btn-disabled mr-3") disabledSaveButton.SetClass("btn btn-disabled mr-3")
// Only show the save button if there are split points defined // Only show the save button if there are split points defined
const saveToggle = new Toggle( const saveToggle = new Toggle(