Custom table (#1734)

Signed-off-by: Denis Bykhov <80476319+BykhovDenis@users.noreply.github.com>
This commit is contained in:
Denis Bykhov
2022-05-13 13:38:54 +07:00
committed by GitHub
parent 5e7c320fb5
commit e91c5d073a
44 changed files with 716 additions and 339 deletions
@@ -13,25 +13,15 @@
// limitations under the License.
-->
<script lang="ts">
import { FindOptions, Ref, SortingOrder } from '@anticrm/core'
import { Ref } from '@anticrm/core'
import { Team } from '@anticrm/tracker'
import { Button, IconAdd, Label, showPopup } from '@anticrm/ui'
import { Table } from '@anticrm/view-resources'
import contact from '@anticrm/contact'
import { Project, Team } from '@anticrm/tracker'
import NewProject from './NewProject.svelte'
import plugin from '../../plugin'
import NewProject from './NewProject.svelte'
export let space: Ref<Team>
const options: FindOptions<Project> = {
sort: {
startDate: SortingOrder.Ascending
},
lookup: {
lead: contact.class.Employee
}
}
async function showCreateDialog () {
showPopup(NewProject, { space, targetElement: null }, null)
}
@@ -58,7 +48,6 @@
}
]}
query={{}}
{options}
/>
</div>