Skip to content

Commit

Permalink
fix(Core): new icon
Browse files Browse the repository at this point in the history
  • Loading branch information
stonebuzz committed Jan 31, 2024
1 parent a1d8e60 commit 4ca63a6
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Computer/Group.php
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ public static function uninstall(Migration $migration)

public static function getIcon()
{
return "fa-fw ti ti-device-laptop";
return "ti ti-sitemap";
}


Expand Down
7 changes: 6 additions & 1 deletion src/Computer/GroupDynamic.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ public static function getSpecificValueToDisplay($field, $values, array $options
if (!is_array($values)) {
$values = [$field => $values];
}
Toolbox::logDebug($field);
switch ($field) {
case 'search':
$count = 0;
Expand Down Expand Up @@ -306,4 +305,10 @@ public static function uninstall(Migration $migration)
$DB->doQuery("DROP TABLE IF EXISTS `" . self::getTable() . "`") or die($DB->error());
}
}

public static function getIcon()
{
return "ti ti-atom";
}

}
5 changes: 5 additions & 0 deletions src/Computer/GroupStatic.php
Original file line number Diff line number Diff line change
Expand Up @@ -221,4 +221,9 @@ public static function uninstall(Migration $migration)
$DB->doQuery("DROP TABLE IF EXISTS `" . self::getTable() . "`") or die($DB->error());
}
}

public static function getIcon()
{
return "ti ti-device-laptop";
}
}
2 changes: 1 addition & 1 deletion src/PackageTarget.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public static function getTypeName($nb = 0)

public static function getIcon()
{
return "ti ti-devices-pc";
return "ti ti-target-arrow";
}


Expand Down

0 comments on commit 4ca63a6

Please sign in to comment.