1
0
Fork 0
mirror of https://github.com/anyproto/anytype-ts.git synced 2025-06-08 05:57:02 +09:00
This commit is contained in:
Andrew Simachev 2020-12-10 15:30:49 +03:00
parent 755d550538
commit 6964da9cfb
3 changed files with 4 additions and 3 deletions

3
.gitignore vendored
View file

@ -10,4 +10,5 @@ done.md
commands.md
.idea
tools
dist/*.node
dist/*.node
*.txt

View file

@ -42,7 +42,7 @@
"limit": {
"dataview": {
"records": 20,
"records": 40,
"views": 100000,
"viewName": 24
}

View file

@ -424,7 +424,7 @@ class Util {
fileIcon (obj: any): string {
const name = String(obj.name || '');
const mime = String(obj.mime || obj.mimeType || '');
const mime = String(obj.mime || obj.mimeType || obj.fileMimeType || '');
const a: string[] = name.split('.');
const e = a[a.length - 1];