mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-20 13:36:02 +00:00
show pages in iframe
This commit is contained in:
6
packages/web/src/tabs/InfoPageTab.js
Normal file
6
packages/web/src/tabs/InfoPageTab.js
Normal file
@@ -0,0 +1,6 @@
|
||||
import React from 'react';
|
||||
import resolveApi from '../utility/resolveApi';
|
||||
|
||||
export default function InfoPageTab({ page }) {
|
||||
return <iframe src={`${resolveApi()}/pages/${page}`} />;
|
||||
}
|
||||
@@ -2,10 +2,12 @@ import TableDataTab from './TableDataTab';
|
||||
import ViewDataTab from './ViewDataTab';
|
||||
import TableStructureTab from './TableStructureTab';
|
||||
import QueryTab from './QueryTab';
|
||||
import InfoPageTab from './InfoPageTab';
|
||||
|
||||
export default {
|
||||
TableDataTab,
|
||||
ViewDataTab,
|
||||
TableStructureTab,
|
||||
QueryTab,
|
||||
InfoPageTab,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user