mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-24 05:38:06 +03:00
Ensured API key name appears in the proper color in the console, for disabled or expired API keys
This commit is contained in:
parent
221b62ea57
commit
4ce44034cb
1 changed files with 1 additions and 2 deletions
|
@ -57,8 +57,7 @@ class ListKeysCommand extends BaseCommand
|
|||
$messagePattern = $this->determineMessagePattern($apiKey);
|
||||
|
||||
// Set columns for this row
|
||||
$rowData = [sprintf($messagePattern, $apiKey)];
|
||||
$rowData[] = $apiKey->name() ?? '-';
|
||||
$rowData = [sprintf($messagePattern, $apiKey), sprintf($messagePattern, $apiKey->name() ?? '-')];
|
||||
if (! $enabledOnly) {
|
||||
$rowData[] = sprintf($messagePattern, $this->getEnabledSymbol($apiKey));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue