1
0
Fork 0
mirror of https://github.com/anyproto/anytype-ts.git synced 2025-06-09 09:35:02 +09:00
This commit is contained in:
Andrew Simachev 2023-11-22 13:04:43 +01:00
parent 1d96adc9f5
commit 2ccded619e
No known key found for this signature in database
GPG key ID: 49A163D0D14E6FD8
2 changed files with 2 additions and 2 deletions

View file

@ -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));

View file

@ -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': {