[PR #1738] fix(task): remove duplicate close button on mobile task detail #1721

Open
opened 2025-11-01 21:26:12 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-vikunja/vikunja/pull/1738
Author: @kolaente
Created: 10/31/2025
Status: 🔄 Open

Base: mainHead: claude/fix-duplicate-close-button-mobile-011CUfbqZNZYoki8vXzWMGFS


📝 Commits (1)

  • 982090d fix: remove duplicate close button on mobile task detail view

📊 Changes

1 file changed (+2 additions, -3 deletions)

View changed files

📝 frontend/src/views/tasks/TaskDetailView.vue (+2 -3)

📄 Description

When viewing a task in modal mode on mobile, both a back button and a close button were displayed, causing confusion. The back button condition !isModal || isMobile meant it would show on mobile even in modal mode.

This fix changes the back button to only display when not in modal mode (!isModal), ensuring only the close button appears when viewing tasks in a modal on mobile devices.

Also removed the now-unused isMobile variable and its import.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-vikunja/vikunja/pull/1738 **Author:** [@kolaente](https://github.com/kolaente) **Created:** 10/31/2025 **Status:** 🔄 Open **Base:** `main` ← **Head:** `claude/fix-duplicate-close-button-mobile-011CUfbqZNZYoki8vXzWMGFS` --- ### 📝 Commits (1) - [`982090d`](https://github.com/go-vikunja/vikunja/commit/982090d428902d3abd94e87f345a73350bfc00b8) fix: remove duplicate close button on mobile task detail view ### 📊 Changes **1 file changed** (+2 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/views/tasks/TaskDetailView.vue` (+2 -3) </details> ### 📄 Description When viewing a task in modal mode on mobile, both a back button and a close button were displayed, causing confusion. The back button condition `!isModal || isMobile` meant it would show on mobile even in modal mode. This fix changes the back button to only display when not in modal mode (`!isModal`), ensuring only the close button appears when viewing tasks in a modal on mobile devices. Also removed the now-unused `isMobile` variable and its import. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the
pull-request
label 2025-11-01 21:26:12 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#1721
No description provided.