- default:
- if ($row['uid'] == 0) {
- $row['direction'] = ['direction' => 9, 'title' => DI::l10n()->t('Global')];
- }
- }
+ case Item::PT_RELAY:
+ $row['direction'] = ['direction' => 10, 'title' => DI::l10n()->t('Relay')];
+ break;
+ case Item::PT_FETCHED:
+ $row['direction'] = ['direction' => 2, 'title' => DI::l10n()->t('Fetched')];
+ break;
+ }