Rework panel navigation (#928)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev
2022-02-04 10:03:24 +01:00
committed by GitHub
parent f2402c3208
commit db52006a9d
25 changed files with 430 additions and 201 deletions
@@ -14,11 +14,11 @@
// limitations under the License.
-->
<script lang="ts">
import type { Issue } from '@anticrm/task'
import { closeTooltip, Icon, showPopup } from '@anticrm/ui'
import { getClient } from '@anticrm/presentation'
import type { Issue } from '@anticrm/task'
import { closeTooltip, Icon, showPanel } from '@anticrm/ui'
import view from '@anticrm/view'
import task from '../plugin'
import { EditDoc } from '@anticrm/view-resources'
export let value: Issue
@@ -27,7 +27,7 @@
function show () {
closeTooltip()
showPopup(EditDoc, { _id: value._id, _class: value._class }, 'full')
showPanel(view.component.EditDoc, value._id, value._class, 'full')
}
</script>