2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-08-05 12:11:30 +00:00

Add actions to issue or cancel purchase orders (#313)

This commit is contained in:
Oliver
2023-04-11 22:52:27 +10:00
committed by GitHub
parent 164295c3e2
commit 943104f20c
4 changed files with 99 additions and 1 deletions

View File

@@ -26,7 +26,7 @@ Future<void> confirmationDialog(String title, String text, {Color? color, IconDa
title: Text(title, style: TextStyle(color: color)),
leading: FaIcon(icon, color: color),
),
content: Text(text),
content: text.isEmpty ? Text(text) : null,
actions: [
TextButton(
child: Text(_reject),