mirror of
https://github.com/nicolargo/glances.git
synced 2026-03-13 11:28:12 -04:00
hide ip plugin in web ui if netifaces is not installed
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
<section id="system" class="plugin" ng-include src="'plugins/system.html'"></section>
|
||||
</div>
|
||||
<div class="pull-left">
|
||||
<section id="ip" class="plugin" ng-include src="'plugins/ip.html'"></section>
|
||||
<section id="ip" class="plugin" ng-if="result['ip'].address != undefined" ng-include src="'plugins/ip.html'"></section>
|
||||
</div>
|
||||
<div class="pull-right">
|
||||
<section id="uptime" class="plugin" ng-include src="'plugins/uptime.html'"></section>
|
||||
|
||||
Reference in New Issue
Block a user