Skip to content

Commit 4949105

Browse files
committed
breaking: The commands slot now totally replaces the command area, exposing all useful methods
1 parent b8fa20c commit 4949105

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

docs/.vitepress/config.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ export default defineConfig({
8181
{ text: "Holiday", link: "/live/holiday" },
8282
{ text: "Other", link: "/live/others" },
8383
{ text: "Grouping", link: "/live/grouping" },
84-
{ text: "Events", link: "/live/events" }
85-
84+
{ text: "Events", link: "/live/events" },
85+
{ text: "Advanced", link: "/live/advanced" }
8686
]
8787
}
8888
],

docs/.vitepress/theme/components/AdvancedGanttDemo.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ const formattedEventLog = computed(() => {
383383
</div>
384384
<div class="setting-item">
385385
<label>
386-
Custom Time Label:
386+
Custom Current Time Label:
387387
<input type="checkbox" v-model="customSlots.currentTimeLabel">
388388
</label>
389389
</div>

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hy-vue-gantt",
3-
"version": "2.3.0",
3+
"version": "3.0.0",
44
"description": "Evolution of vue-ganttastic package",
55
"author": "Eugenio Topa (@Xeyos88)",
66
"scripts": {

src/components/GGanttRow.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ const visibleChildRows = computed(() => {
143143
:bar="bar"
144144
:class="{ 'g-gantt-group-bar': isGroup }"
145145
>
146-
<slot name="bar-label" :bar="bar" />
146+
<slot name="bar-label" :bar="bar" v-if="!isGroup" />
147147
</g-gantt-bar>
148148
</transition-group>
149149
</div>

0 commit comments

Comments
 (0)