-
-
diff --git a/addons/project/static/src/components/project_task_state_selection/project_task_state_selection.js b/addons/project/static/src/components/project_task_state_selection/project_task_state_selection.js
index f04570d5c37..c7ed3ef40de 100644
--- a/addons/project/static/src/components/project_task_state_selection/project_task_state_selection.js
+++ b/addons/project/static/src/components/project_task_state_selection/project_task_state_selection.js
@@ -131,14 +131,14 @@ export class ProjectTaskStateSelection extends StateSelectionField {
}
getDropdownPosition() {
- if (this.isView(['kanban', 'list', 'calendar']) || this.env.isSmall) {
+ if (this.isView(['activity', 'kanban', 'list', 'calendar']) || this.env.isSmall) {
return '';
}
return 'bottom-end';
}
getTogglerClass(currentValue) {
- if (this.isView(['kanban', 'list', 'calendar']) || this.env.isSmall) {
+ if (this.isView(['activity', 'kanban', 'list', 'calendar']) || this.env.isSmall) {
return 'btn btn-link d-flex p-0';
}
return 'o_state_button btn rounded-pill ' + this.colorButton[currentValue];
diff --git a/addons/project/static/src/components/project_task_state_selection/project_task_state_selection.xml b/addons/project/static/src/components/project_task_state_selection/project_task_state_selection.xml
index 4dcd2bcdbff..b04e70db622 100644
--- a/addons/project/static/src/components/project_task_state_selection/project_task_state_selection.xml
+++ b/addons/project/static/src/components/project_task_state_selection/project_task_state_selection.xml
@@ -13,7 +13,7 @@
-
+
@@ -22,13 +22,13 @@
-