mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-21 19:37:28 +00:00
add dtable_web settings (#4131)
This commit is contained in:
@@ -2,7 +2,7 @@ import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import { Link } from '@reach/router';
|
||||
import { Badge } from 'reactstrap';
|
||||
import { gettext, siteRoot, enableWiki, canAddRepo, canGenerateShareLink, canGenerateUploadLink, canInvitePeople } from '../utils/constants';
|
||||
import { gettext, siteRoot, enableWiki, canAddRepo, canGenerateShareLink, canGenerateUploadLink, canInvitePeople, dtableWebServer } from '../utils/constants';
|
||||
import { seafileAPI } from '../utils/seafile-api';
|
||||
import { Utils } from '../utils/utils';
|
||||
import toaster from './toast';
|
||||
@@ -78,7 +78,7 @@ class MainSideNav extends React.Component {
|
||||
}
|
||||
|
||||
onDTableClick = () => {
|
||||
let url = siteRoot + 'dtable/'
|
||||
let url = dtableWebServer;
|
||||
window.open(url);
|
||||
}
|
||||
|
||||
|
@@ -21,6 +21,7 @@ export const faviconPath = window.app.config.faviconPath;
|
||||
export const loginBGPath = window.app.config.loginBGPath;
|
||||
|
||||
//pageOptions
|
||||
export const dtableWebServer = window.app.pageOptions.dtableWebServer;
|
||||
export const seafileCollabServer = window.app.pageOptions.seafileCollabServer;
|
||||
export const name = window.app.pageOptions.name;
|
||||
export const contactEmail = window.app.pageOptions.contactEmail;
|
||||
|
Reference in New Issue
Block a user