UBER-440: Fix link error message (#3406)

This commit is contained in:
Andrey Sobolev 2023-06-08 17:47:34 +07:00 committed by GitHub
parent ba65d1d2ea
commit e0d8cf7284
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,16 +15,16 @@
<script lang="ts">
import { createEventDispatcher } from 'svelte'
import { getEmbeddedLabel } from '@hcengineering/platform'
import { Card } from '@hcengineering/presentation'
import { EditBox } from '@hcengineering/ui'
import type { IntlString } from '@hcengineering/platform'
import textEditorPlugin from '../plugin'
export let link = ''
const dispatch = createEventDispatcher()
const linkPlaceholder = 'http://my.link.net' as IntlString
const linkPlaceholder = getEmbeddedLabel('http://my.link.net')
function save () {
dispatch('update', link)