mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-24 22:35:39 -04:00
Hiding permissions when OS is windows
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
'use strict';
|
||||
define(
|
||||
[
|
||||
'handlebars'
|
||||
], function (Handlebars) {
|
||||
Handlebars.registerHelper('LinuxOnly', function () {
|
||||
return new Handlebars.SafeString('<i class="icon-linux" title="Linux Only"></i>');
|
||||
});
|
||||
});
|
||||
@@ -19,7 +19,7 @@ define(
|
||||
if (StatusModel.get('isLinux'))
|
||||
{
|
||||
return options.fn(this);
|
||||
}
|
||||
}
|
||||
|
||||
return options.inverse(this);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user