mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
Netbird fixes (#4827)
* Changed routes to networks as Netbird changed the name * Also changed the field name from routes to networks
This commit is contained in:
+1
-1
@@ -136,7 +136,7 @@ class ServiceController extends ApiMutableServiceControllerBase
|
||||
foreach ($array as $key => $value) {
|
||||
if (is_array($value)) {
|
||||
foreach ($value as $subkey => $subvalue) {
|
||||
if ($key == "routes") {
|
||||
if ($key == "networks") {
|
||||
$result[$key] = implode("<br />", $value);
|
||||
} else {
|
||||
$result[$key . "." . $subkey] = $subvalue;
|
||||
|
||||
@@ -114,8 +114,8 @@
|
||||
<tr>
|
||||
<th data-column-id="fqdn" data-type="string" data-identifier="false"
|
||||
data-visible="true">{{ lang._('FQDN') }}</th>
|
||||
<th data-column-id="routes" data-type="string" data-identifier="false"
|
||||
data-visible="true">{{ lang._('Routes') }}</th>
|
||||
<th data-column-id="networks" data-type="string" data-identifier="false"
|
||||
data-visible="true">{{ lang._('Networks') }}</th>
|
||||
<th data-width="8%" data-column-id="netbirdIp" data-type="string" data-identifier="false"
|
||||
data-visible="true">{{ lang._('IP') }}</th>
|
||||
<th data-width="5%" data-column-id="direct" data-type="string" data-identifier="false"
|
||||
|
||||
Reference in New Issue
Block a user