luci-mod-system: correct table cell rendering without umount button
authorJo-Philipp Wich <jo@mein.io>
Sat, 29 Sep 2018 12:09:43 +0000 (14:09 +0200)
committerJo-Philipp Wich <jo@mein.io>
Sat, 29 Sep 2018 12:09:43 +0000 (14:09 +0200)
Fixes #2173.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-mod-system/luasrc/model/cbi/admin_system/fstab.lua

index 3ce5351bf0efa54a1a8bd9e2e2c548aad820fb5f..02fe9cc05e1906d04199530b45396e19c98232e0 100644 (file)
@@ -122,6 +122,8 @@ unmount.render = function(self, section, scope)
                self.title = translate("Unmount")
                self.inputstyle = "remove"
                Button.render(self, section, scope)
+       else
+               luci.http.write("&#160;")
        end
 end