fix(settings): show bar delete button when multiple bars exist (#3943)

port 2.0

(cherry picked from commit 3c89a1554b)
This commit is contained in:
Huỳnh Thiện Lộc authored and dux-ci[bot] committed 2026-10-26 15:50:57 +00:00
1 parent 6d316539d7
commit 290d04c511
1 file changed
+1 -1
+1 -1
View File
@@ -58,7 +58,7 @@ Column {
}
function canDeleteBar(config) {
return config.id !== "default" && (SettingsData.getBarKindConfigs().length > 1 || SettingsData.isIslandBarConfig(config));
return config.id !== "default" && SettingsData.edgeBarConfigCount > 1;
}
function deleteBar(barId) {