File tree 4 files changed +25
-12
lines changed
4 files changed +25
-12
lines changed Original file line number Diff line number Diff line change 30
30
<template #actions>
31
31
<ActionLink :href="config.bookingUrl"
32
32
target="_blank">
33
- <OpenInNewIcon slot="icon" :size="20" decorative />
33
+ <template #icon>
34
+ <OpenInNewIcon :size="20" />
35
+ </template>
34
36
{{ t('calendar', 'Preview') }}
35
37
</ActionLink>
36
38
<ActionButton v-if="hasClipboard"
37
39
:close-after-click="true"
38
40
@click="copyLink">
39
- <LinkVariantIcon slot="icon" :size="20" decorative />
41
+ <template #icon>
42
+ <LinkVariantIcon :size="20" />
43
+ </template>
40
44
{{ t('calendar', 'Copy link') }}
41
45
</ActionButton>
42
46
<ActionButton :close-after-click="true"
43
47
@click="showModal = true">
44
- <PencilIcon slot="icon" :size="20" decorative />
48
+ <template #icon>
49
+ <PencilIcon :size="20" />
50
+ </template>
45
51
{{ t('calendar', 'Edit') }}
46
52
</ActionButton>
47
53
<ActionButton :close-after-click="true"
48
54
@click="$emit('delete', $event)">
49
- <DeleteIcon slot="icon" :size="20" decorative />
55
+ <template #icon>
56
+ <DeleteIcon :size="20" />
57
+ </template>
50
58
{{ t('calendar', 'Delete') }}
51
59
</ActionButton>
52
60
</template>
Original file line number Diff line number Diff line change 24
24
:title="calendar.displayName || $t('calendar', 'Untitled calendar')"
25
25
:menu-open.sync="menuOpen"
26
26
@click.prevent.stop="toggleEnabled">
27
- <AppNavigationIconBullet v-if="calendar.enabled"
28
- slot="icon"
29
- :color="calendar.color"
30
- @click.prevent.stop="toggleEnabled" />
27
+ <template #icon>
28
+ <AppNavigationIconBullet v-if="calendar.enabled"
29
+ :color="calendar.color"
30
+ @click.prevent.stop="toggleEnabled" />
31
+ </template>
31
32
32
- <template slot=" counter" >
33
+ <template # counter>
33
34
<Avatar :user="owner"
34
35
:is-guest="true"
35
36
:disable-tooltip="true"
36
37
:disable-menu="true" />
37
38
</template>
38
39
39
- <template slot=" actions" >
40
+ <template # actions>
40
41
<ActionButton v-if="showCopySubscriptionLinkLabel"
41
42
@click.prevent.stop="copySubscriptionLink">
42
43
<template #icon>
Original file line number Diff line number Diff line change 39
39
label="displayName"
40
40
@search="findSharee"
41
41
@option:selected="shareCalendar">
42
- <span slot="no-options">{{ $t('calendar', 'No users or groups') }}</span>
42
+ <template #no-options>
43
+ <span>{{ $t('calendar', 'No users or groups') }}</span>
44
+ </template>
43
45
</NcSelect>
44
46
</div>
45
47
</template>
Original file line number Diff line number Diff line change 23
23
<template>
24
24
<AppNavigationItem :title="title"
25
25
@click="openUserSettings">
26
- <AlertCircleIcon slot="icon" :size="20" decorative />
26
+ <template #icon>
27
+ <AlertCircleIcon :size="20" />
28
+ </template>
27
29
</AppNavigationItem>
28
30
</template>
29
31
You can’t perform that action at this time.
0 commit comments