diff --git a/dist/img/icon/default/date.svg b/dist/img/icon/default/date.svg new file mode 100644 index 0000000000..3b7acf787d --- /dev/null +++ b/dist/img/icon/default/date.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/src/ts/component/util/iconObject.tsx b/src/ts/component/util/iconObject.tsx index 7f5fc0ba2e..fb20b9f888 100644 --- a/src/ts/component/util/iconObject.tsx +++ b/src/ts/component/util/iconObject.tsx @@ -92,7 +92,7 @@ const FontSize = { 96: 64, }; -const DefaultIcons = [ 'page', 'task', 'set', 'chat', 'bookmark', 'type' ]; +const DefaultIcons = [ 'page', 'task', 'set', 'chat', 'bookmark', 'type', 'date' ]; const Ghost = require('img/icon/ghost.svg'); const CheckboxTask = { @@ -183,6 +183,10 @@ const IconObject = observer(class IconObject extends React.Component { break; }; + case I.ObjectLayout.Date: + defaultIcon('date'); + break; + case I.ObjectLayout.Collection: case I.ObjectLayout.Set: { if (iconImage) {