mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-27 21:56:00 +00:00
Merge branch 'master' into feature/firebird
This commit is contained in:
1
packages/web/src/charts/JslChart.svelte
Normal file
1
packages/web/src/charts/JslChart.svelte
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<div>This component is only for DbGate Premium</div>
|
||||||
@@ -10,6 +10,7 @@
|
|||||||
import useEffect from '../utility/useEffect';
|
import useEffect from '../utility/useEffect';
|
||||||
import AllResultsTab from './AllResultsTab.svelte';
|
import AllResultsTab from './AllResultsTab.svelte';
|
||||||
import JslChart from '../charts/JslChart.svelte';
|
import JslChart from '../charts/JslChart.svelte';
|
||||||
|
import { isProApp } from '../utility/proTools';
|
||||||
|
|
||||||
export let tabs = [];
|
export let tabs = [];
|
||||||
export let sessionId;
|
export let sessionId;
|
||||||
@@ -40,6 +41,9 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
const handleCharts = async props => {
|
const handleCharts = async props => {
|
||||||
|
if (!isProApp()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
charts = [
|
charts = [
|
||||||
...charts,
|
...charts,
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user