mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-23 22:12:44 +03:00
UBER-440: Fix link error message (#3406)
This commit is contained in:
parent
ba65d1d2ea
commit
e0d8cf7284
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user