mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 09:36:01 +00:00
Materialized views #123
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { openedTabs } from '../stores';
|
||||
import _ from 'lodash';
|
||||
|
||||
export class LoadingToken {
|
||||
isCanceled = false;
|
||||
@@ -26,3 +27,8 @@ export function setSelectedTabFunc(files, tabid) {
|
||||
export function setSelectedTab(tabid) {
|
||||
openedTabs.update(tabs => setSelectedTabFunc(tabs, tabid));
|
||||
}
|
||||
|
||||
export function getObjectTypeFieldLabel(objectTypeField) {
|
||||
if (objectTypeField == 'matviews') return 'Materialized Views';
|
||||
return _.startCase(objectTypeField);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user