forked from Shinonome/dots-hyprland
correct indentation, remove unnecessary check
This commit is contained in:
@@ -12,7 +12,7 @@ Loader {
|
||||
function abbreviateLayoutCode(fullCode) {
|
||||
return fullCode.split(':').map(layout => {
|
||||
const baseLayout = layout.split('-')[0];
|
||||
return baseLayout.length > 4 ? baseLayout.slice(0, 4) : baseLayout;
|
||||
return baseLayout.slice(0, 4);
|
||||
}).join('\n');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user