firefox: fix empty check of bookmarks list

This commit is contained in:
rcerc 2022-07-21 16:54:59 -04:00 committed by Robert Helgesson
parent f91fb470bc
commit 218cb3aee2
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -428,7 +428,7 @@ in {
mkIf (profile.userContent != "") { text = profile.userContent; };
"${profilesPath}/${profile.path}/user.js" = mkIf (profile.settings != { }
|| profile.extraConfig != "" || profile.bookmarks != { }) {
|| profile.extraConfig != "" || profile.bookmarks != [ ]) {
text =
mkUserJs profile.settings profile.extraConfig profile.bookmarks;
};