Skip to content

Commit 16da9e8

Browse files
filter if app exists
1 parent aecc701 commit 16da9e8

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

kratos.gid/scripts/Applications.tcl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ proc apps::getAppById { id } {
7575

7676
proc apps::appExists {id} {
7777
variable appList
78+
79+
if {[getAppById $id] eq ""} {
80+
return 0
81+
}
7882

7983
set dir [file join $::Kratos::kratos_private(Path) apps $id]
8084
set app_definition_file [file join $dir app.json]

0 commit comments

Comments
 (0)