network: ipv4 can be disabled

This commit is contained in:
Girish Ramakrishnan
2024-04-25 14:48:17 +02:00
parent dbf66b8e89
commit f6e4f1aefc
5 changed files with 23 additions and 14 deletions
+1 -1
View File
@@ -171,7 +171,7 @@
</div>
</div>
<div class="row">
<div class="row" ng-show="sysinfo.provider !== 'noop'">
<div class="col-xs-6">
<span class="text-muted">{{ 'network.ip.address' | tr }}</span>
</div>
+1
View File
@@ -11,6 +11,7 @@ angular.module('Application').controller('NetworkController', ['$scope', '$locat
// keep in sync with sysinfo.js
$scope.sysinfoProvider = [
{ name: 'Disabled', value: 'noop' },
{ name: 'Public IP', value: 'generic' },
{ name: 'Static IP Address', value: 'fixed' },
{ name: 'Network Interface', value: 'network-interface' }