mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +00:00
This is a regression from commit 9b6774f279e2c8af588609c2413aa9804fd48cfa. When change the view to use AppView, the condition to check for non-btrfs filesystems and show an unsupported message instead of the actual view was accidentally removed. Restore the check and show a different view when on non-btrfs filesystems. Fixes: #2268. Tests: - On non-btrfs filesystem, snapshots view is shown as expected. - On ext4 filesystem, a message that snapshots are not supported is shown. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>