mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-23 05:53:09 +03:00
parent
40c1d33fa3
commit
44427c8c45
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -131,7 +131,7 @@ export function createModel (builder: Builder): void {
|
||||
|
||||
builder.createDoc(view.class.Action, core.space.Model, {
|
||||
label: 'Delete' as IntlString,
|
||||
icon: view.icon.Kanban,
|
||||
icon: view.icon.Delete,
|
||||
action: view.actionImpl.Delete
|
||||
}, view.action.Delete)
|
||||
|
||||
|
@ -1,3 +0,0 @@
|
||||
<symbol id="delete" viewBox="0 0 16 16">
|
||||
<path d="M14.2,2.8h-2.4c-0.3,0-0.5-0.2-0.6-0.6l-0.2-1C10.9,0.5,10.3,0,9.6,0H6.4C5.7,0,5.1,0.5,4.9,1.3l-0.2,1 C4.7,2.6,4.4,2.8,4.2,2.8H1.8c-0.3,0-0.6,0.3-0.6,0.6S1.4,4,1.8,4h0.4c0.1,1.4,0.4,7.6,0.6,9.7c0.1,1.4,1,2.3,2.3,2.3 C6,16,7,16,8,16c0.9,0,1.9,0,2.9,0c1.3,0,2.2-0.9,2.3-2.3c0.2-2,0.5-8.3,0.6-9.7h0.4c0.3,0,0.6-0.3,0.6-0.6S14.6,2.8,14.2,2.8z M6,2.5l0.2-0.9c0-0.2,0.2-0.3,0.3-0.3h3.1c0.1,0,0.3,0.1,0.3,0.3l0.2,1c0,0.1,0.1,0.2,0.1,0.3H5.8C5.9,2.7,5.9,2.6,6,2.5z M12,13.6 c-0.1,1.2-0.9,1.2-1.1,1.2c-2,0-3.9,0-5.7,0c-0.6,0-1-0.4-1.1-1.2c-0.2-2-0.5-8-0.6-9.5h9.2C12.5,5.5,12.2,11.6,12,13.6z"/>
|
||||
</symbol>
|
@ -22,4 +22,7 @@
|
||||
<rect x="13.1" y="13.1" width="2.9" height="2.9" />
|
||||
</g>
|
||||
</symbol>
|
||||
<symbol id="delete" viewBox="0 0 16 16">
|
||||
<path d="M14.2,2.8h-2.4c-0.3,0-0.5-0.2-0.6-0.6l-0.2-1C10.9,0.5,10.3,0,9.6,0H6.4C5.7,0,5.1,0.5,4.9,1.3l-0.2,1 C4.7,2.6,4.4,2.8,4.2,2.8H1.8c-0.3,0-0.6,0.3-0.6,0.6S1.4,4,1.8,4h0.4c0.1,1.4,0.4,7.6,0.6,9.7c0.1,1.4,1,2.3,2.3,2.3 C6,16,7,16,8,16c0.9,0,1.9,0,2.9,0c1.3,0,2.2-0.9,2.3-2.3c0.2-2,0.5-8.3,0.6-9.7h0.4c0.3,0,0.6-0.3,0.6-0.6S14.6,2.8,14.2,2.8z M6,2.5l0.2-0.9c0-0.2,0.2-0.3,0.3-0.3h3.1c0.1,0,0.3,0.1,0.3,0.3l0.2,1c0,0.1,0.1,0.2,0.1,0.3H5.8C5.9,2.7,5.9,2.6,6,2.5z M12,13.6 c-0.1,1.2-0.9,1.2-1.1,1.2c-2,0-3.9,0-5.7,0c-0.6,0-1-0.4-1.1-1.2c-0.2-2-0.5-8-0.6-9.5h9.2C12.5,5.5,12.2,11.6,12,13.6z"/>
|
||||
</symbol>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.8 KiB |
@ -19,5 +19,6 @@ import view from '@anticrm/view'
|
||||
const icons = require('../assets/icons.svg')
|
||||
loadMetadata(view.icon, {
|
||||
Table: `${icons}#table`,
|
||||
Kanban: `${icons}#kanban`
|
||||
Kanban: `${icons}#kanban`,
|
||||
Delete: `${icons}#delete`,
|
||||
})
|
||||
|
@ -147,6 +147,7 @@ export default plugin(viewId, {
|
||||
},
|
||||
icon: {
|
||||
Table: '' as Asset,
|
||||
Kanban: '' as Asset
|
||||
Kanban: '' as Asset,
|
||||
Delete: '' as Asset
|
||||
}
|
||||
})
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user