mirror of
https://github.com/grafana/grafana.git
synced 2025-02-13 00:55:47 -06:00
* moved the plugins admin to core and used the plugins toggle to decide which version to use. * reverted change. * changed so the library tab is the default one. * fixing navigation. # * fixed so we have the proper header. * including the core plugins * fixed so we display logos for local plugins. * fixed so we have a working version of plugin catalog. * removed console logs. * reverted changes. * fixing failed test.
7 lines
204 B
TypeScript
7 lines
204 B
TypeScript
import { LocalPlugin } from './types';
|
|
|
|
export function isLocalPlugin(plugin: any): plugin is LocalPlugin {
|
|
// super naive way of figuring out if this is a local plugin
|
|
return 'category' in plugin;
|
|
}
|