test
This commit is contained in:
@@ -50,13 +50,15 @@ class SchedulerFormsWidgetState extends State<SchedulerFormsWidget> {
|
||||
GlobalKey<FormFieldState>(), GlobalKey<FormFieldState>()];
|
||||
var shallow = ShallowTextInputWidget(
|
||||
width: 250 - 1,
|
||||
current: dash.name,
|
||||
current: widget.item.name,
|
||||
type: SharedWorkspaceType.workflow,
|
||||
canRemove: (p0) => p0 != null && p0.isEmpty,
|
||||
canRemove: (p0) => p0 != null && p0.isNotEmpty,
|
||||
remove: (p0) async {
|
||||
await WorflowService().delete(context, widget.item.id ?? "", {}).then((value) {
|
||||
dash.clear();
|
||||
dash.id = null;
|
||||
dash.name = "";
|
||||
dash.isOpened = false;
|
||||
dash.clear();
|
||||
dash.chartKey.currentState?.widget.flowChart.setState(() { });
|
||||
});
|
||||
},
|
||||
@@ -75,7 +77,7 @@ class SchedulerFormsWidgetState extends State<SchedulerFormsWidget> {
|
||||
Text("WORKFLOW INFO", style: TextStyle(fontSize: 15, fontWeight: FontWeight.bold), textAlign: TextAlign.center),
|
||||
Text("<general>", style: TextStyle(fontSize: 12), textAlign: TextAlign.center),
|
||||
])),
|
||||
Container(
|
||||
widget.item.name == "" ? Container() : Container(
|
||||
decoration: BoxDecoration( border: Border(
|
||||
left: BorderSide(color: Colors.grey.shade300, width: 1),
|
||||
bottom: const BorderSide(color: Colors.grey))),
|
||||
|
||||
Reference in New Issue
Block a user