mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-09 09:35:02 +09:00
fixes
This commit is contained in:
parent
1d96adc9f5
commit
2ccded619e
2 changed files with 2 additions and 2 deletions
|
@ -47,7 +47,7 @@ const PopupSettingsPageImportIndex = observer(class PopupSettingsPageImportIndex
|
|||
const common = [ I.ImportType.Html, I.ImportType.Text, I.ImportType.Protobuf, I.ImportType.Markdown ];
|
||||
|
||||
if (common.includes(item.format)) {
|
||||
Action.import(item.format, Constant.extension.import[item.format]);
|
||||
Action.import(item.format, Constant.fileExtension.import[item.format]);
|
||||
close();
|
||||
} else {
|
||||
onPage(UtilCommon.toCamelCase('import-' + item.id));
|
||||
|
|
|
@ -524,7 +524,7 @@ const PopupSearch = observer(class PopupSearch extends React.Component<I.Popup,
|
|||
}, Constant.delay.popup);
|
||||
} else
|
||||
if (item.isImport) {
|
||||
Action.import(item.format, Constant.extension.import[item.format]);
|
||||
Action.import(item.format, Constant.fileExtension.import[item.format]);
|
||||
} else {
|
||||
switch (item.id) {
|
||||
case 'add': {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue