Spaces:
Runtime error
Runtime error
Update src/components/menu-bar/google-drive-save.jsx
Browse files
src/components/menu-bar/google-drive-save.jsx
CHANGED
@@ -5,6 +5,7 @@ import classNames from 'classnames';
|
|
5 |
import {FormattedMessage} from 'react-intl';
|
6 |
import Button from '../button/button.jsx';
|
7 |
import styles from './google-drive-save.css';
|
|
|
8 |
|
9 |
class GoogleDriveSave extends React.Component {
|
10 |
constructor(props) {
|
@@ -17,7 +18,7 @@ class GoogleDriveSave extends React.Component {
|
|
17 |
isModalOpen: false,
|
18 |
isLoading: false,
|
19 |
isProcessing: false,
|
20 |
-
newFileName:
|
21 |
showNewFileInput: false,
|
22 |
sharePermission: 'reader', // 'reader', 'writer', or 'owner'
|
23 |
selectedFileId: null
|
|
|
5 |
import {FormattedMessage} from 'react-intl';
|
6 |
import Button from '../button/button.jsx';
|
7 |
import styles from './google-drive-save.css';
|
8 |
+
import { getProjectFilename } from '/src/containers/sb3-downloader.jsx';
|
9 |
|
10 |
class GoogleDriveSave extends React.Component {
|
11 |
constructor(props) {
|
|
|
18 |
isModalOpen: false,
|
19 |
isLoading: false,
|
20 |
isProcessing: false,
|
21 |
+
newFileName: getProjectFilename || '無題',
|
22 |
showNewFileInput: false,
|
23 |
sharePermission: 'reader', // 'reader', 'writer', or 'owner'
|
24 |
selectedFileId: null
|