(cherry picked from commit 2fa91b75e0)
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
This commit is contained in:
co-authored by
Ryan McKinley
parent
c3cc01912b
commit
5fd9fee933
@@ -296,7 +296,18 @@ function makeTypeColumn(
|
||||
}
|
||||
txt = info.name;
|
||||
} else {
|
||||
icon = `public/img/icons/unicons/question.svg`; // plugin not found
|
||||
switch (type) {
|
||||
case 'row':
|
||||
txt = 'Row';
|
||||
icon = `public/img/icons/unicons/bars.svg`;
|
||||
break;
|
||||
case 'singlestat': // auto-migration
|
||||
txt = 'Singlestat';
|
||||
icon = `public/app/plugins/panel/stat/img/icn-singlestat-panel.svg`;
|
||||
break;
|
||||
default:
|
||||
icon = `public/img/icons/unicons/question.svg`; // plugin not found
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user