Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
SunWuyuan committed Aug 28, 2024
1 parent bfdc80e commit 897d968
Show file tree
Hide file tree
Showing 4 changed files with 624 additions and 582 deletions.
4 changes: 2 additions & 2 deletions src/components/gui/gui.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -542,13 +542,13 @@ GUIComponent.defaultProps = {
canChangeLanguage: true,
canChangeTheme: true,
canCreateNew: true,
canEditTitle: true,
canEditTitle: false,
canManageFiles: true,
canRemix: false,
canSave: false,
canCreateCopy: false,
canShare: false,
canUseCloud: false,
canUseCloud: true,
enableCommunity: false,
isCreating: false,
isShared: false,
Expand Down
14 changes: 7 additions & 7 deletions src/components/menu-bar/menu-bar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -973,14 +973,14 @@ class MenuBar extends React.Component {
<ProjectWatcher onDoneUpdating={this.props.onSeeCommunity}>
{
waitForUpdate => (
<CommunityButton
/*<CommunityButton
className={styles.menuBarButton}
/* eslint-disable react/jsx-no-bind */
onClick={() => {
this.handleClickSeeCommunity(waitForUpdate);
}}
/* eslint-enable react/jsx-no-bind */
/>
/>*/
[]
)
}
</ProjectWatcher>
Expand Down Expand Up @@ -1019,10 +1019,10 @@ class MenuBar extends React.Component {
</div>

<div className={styles.menuBarItem}>
<mdui-button id='open-zerocat-tab'>ZeroCat</mdui-button>
<mdui-button id='open-setinfo-tab' href='/account/login' target="_blank">登录</mdui-button>
<Button id='open-zerocat-tab'>信息</Button>
<Button id='open-setinfo-tab' href='/account/login' target="_blank">登录</Button>

<mdui-button id='push-button'>加载中</mdui-button>
<Button id='push-button'>加载中</Button>


</div>
Expand Down
2 changes: 1 addition & 1 deletion src/lib/tw-project-meta-fetcher-hoc.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {setAuthor, setDescription} from '../reducers/tw';

export const fetchProjectMeta = async projectId => {
const urls = [
`${process.env.APIHOST}/scratch/projectinfo2?id=${projectId}?token=${localStorage.getItem('token')}`];
`${process.env.APIHOST}/scratch/projectinfo2?id=${projectId}&token=${localStorage.getItem('token')}`];
let firstError;
for (const url of urls) {
try {
Expand Down
Loading

0 comments on commit 897d968

Please sign in to comment.