mirror of
https://github.com/liamcottle/reticulum-meshchat.git
synced 2026-11-25 01:16:21 -05:00
show if connected to shared instance in about page
This commit is contained in:
parent
bbb03b8b7e
commit
7a3d2e8671
2 changed files with 10 additions and 0 deletions
|
|
@ -541,6 +541,7 @@ class ReticulumMeshChat:
|
|||
"database_path": self.database_path,
|
||||
"database_file_size": os.path.getsize(self.database_path),
|
||||
"reticulum_config_path": self.reticulum.configpath,
|
||||
"is_connected_to_shared_instance": self.reticulum.is_connected_to_shared_instance,
|
||||
},
|
||||
})
|
||||
|
||||
|
|
|
|||
|
|
@ -52,6 +52,15 @@
|
|||
<div class="text-sm text-gray-700">{{ formatBytes(appInfo.database_file_size) }}</div>
|
||||
</div>
|
||||
|
||||
<!-- shared instance status -->
|
||||
<div class="p-1">
|
||||
<div>Reticulum Instance</div>
|
||||
<div class="text-sm text-gray-700">
|
||||
<span v-if="appInfo.is_connected_to_shared_instance">Connected to Shared Instance</span>
|
||||
<span v-else>Running as Standalone Instance</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue