Clan VM Manager: detect if clan exists

This commit is contained in:
Johannes Kirschbauer
2024-02-07 16:08:48 +07:00
parent 045c5e608b
commit 030cbd24ce
2 changed files with 3 additions and 4 deletions

View File

@@ -188,7 +188,8 @@ class ClanList(Gtk.Box):
row.add_css_class("trust")
# TODO: figure out how to detect that
if True:
exist = VMS.use().get_by_id(item.url.get_id())
if exist:
row.set_subtitle("Clan already exists. Joining again will update it")
avatar = Adw.Avatar()