fix select edit host but not update view #438

Merged
kientt137 merged 1 commits from fixbug/update-view-when-edit-host into 1.10.0 2025-11-21 18:03:05 +00:00
kientt137 commented 2025-11-21 13:30:35 +00:00 (Migrated from github.com)

Overview

Bug: When the Host Manager tab is active, if select Edit another host from Side bar, view is not update

Changes Made

updates the editingHost state and switches to the "add_host" tab whenever hostConfig id changes, ensuring the edit form reflects the newly selected host.

Checklist

  • Code follows project style guidelines
  • Supports mobile and desktop UI/app (if applicable)
  • I have read Contributing.md
# Overview Bug: When the Host Manager tab is active, if select Edit another host from Side bar, view is not update # Changes Made updates the editingHost state and switches to the "add_host" tab whenever hostConfig id changes, ensuring the edit form reflects the newly selected host. # Checklist - [x] Code follows project style guidelines - [x] Supports mobile and desktop UI/app (if applicable) - [x] I have read [Contributing.md](https://github.com/Termix-SSH/Termix/blob/main/CONTRIBUTING.md)
LukeGus commented 2025-11-21 18:03:00 +00:00 (Migrated from github.com)

LGTM. Thanks.

LGTM. Thanks.
Sign in to join this conversation.