Restore checkMSPPortCount and showMSPWarning functions in ports tab#2436
Conversation
These functions were lost during merge conflict resolution. They provide warning when more than 2 MSP ports are configured.
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||
Co-authored-by: qodo-merge-pro[bot] <151058649+qodo-merge-pro[bot]@users.noreply.github.com>
User description
Summary
Root cause
Functions were added in commit 92ee343 but lost in subsequent merge conflicts (8ccf4f8, 895c526).
PR Type
Bug fix
Description
Restore checkMSPPortCount() function to count MSP ports
Restore showMSPWarning() function to display warnings
Functions were lost during merge conflict resolution
Warn users when more than 2 MSP ports configured
Diagram Walkthrough
File Walkthrough
ports.js
Restore MSP port validation and warning functionstabs/ports.js
states
comparison