feat(knowledge): add edit button to ProjectTasksScreen app bar
This commit is contained in:
@@ -88,6 +88,14 @@ class _ProjectTasksScreenState extends ConsumerState<ProjectTasksScreen> {
|
|||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
actions: [
|
||||||
|
IconButton(
|
||||||
|
icon: const Icon(Icons.edit_outlined),
|
||||||
|
tooltip: 'Edit project',
|
||||||
|
onPressed: () =>
|
||||||
|
context.push('/projects/${widget.projectId}/edit'),
|
||||||
|
),
|
||||||
|
],
|
||||||
),
|
),
|
||||||
body: tasksAsync.when(
|
body: tasksAsync.when(
|
||||||
loading: () => const Center(child: CircularProgressIndicator()),
|
loading: () => const Center(child: CircularProgressIndicator()),
|
||||||
|
|||||||
Reference in New Issue
Block a user