Skip to content

Commit 34894d2

Browse files
Merge pull request #49 from offset-dev/develop
v0.1.2
2 parents e9e066f + 930bb5b commit 34894d2

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v3
10-
- name: Use Node.js/16
10+
- name: Use Node.js/18
1111
uses: actions/setup-node@v1
1212
with:
13-
node-version: 16
13+
node-version: 18
1414
- name: Get yarn cache directory path
1515
id: yarn-cache-dir-path
1616
run: echo "::set-output name=dir::$(yarn cache dir)"

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v3
12-
- name: Use Node.js/16
12+
- name: Use Node.js/18
1313
uses: actions/setup-node@v1
1414
with:
15-
node-version: 16
15+
node-version: 18
1616
- name: Get yarn cache directory path
1717
id: yarn-cache-dir-path
1818
run: echo "::set-output name=dir::$(yarn cache dir)"

admin/src/pages/index.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ import moment from 'moment';
3030

3131
import {
3232
Scheduler,
33+
AllDayPanel,
3334
DayView,
3435
WeekView,
3536
MonthView,
@@ -137,7 +138,7 @@ function HomePage() {
137138
const primaryAction = settings.createButton ? (
138139
<LinkButton
139140
startIcon={<Plus />}
140-
to={`/content-manager/collectionType/${settings.collection}/create`}
141+
to={`/content-manager/collection-types/${settings.collection}/create`}
141142
>
142143
{formatMessage(
143144
{ id: getTrad('view.calendar.action.create-entry'), defaultMessage: 'Create New' },
@@ -302,6 +303,7 @@ function HomePage() {
302303
endDayHour={settings.endHour}
303304
/>
304305
<DayView startDayHour={settings.startHour} endDayHour={settings.endHour} />
306+
<AllDayPanel />
305307
<Appointments appointmentComponent={Appointment} />
306308
</Scheduler>
307309
</Box>
@@ -328,7 +330,7 @@ function Appointment({ children, style, ...restProps }) {
328330
}
329331

330332
return (
331-
<Link to={`/content-manager/collectionType/${settings.collection}/${id}`}>
333+
<Link to={`/content-manager/collection-types/${settings.collection}/${id}`}>
332334
<Appointments.Appointment
333335
{...restProps}
334336
style={{

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@offset-dev/strapi-calendar",
3-
"version": "0.1.1",
3+
"version": "0.1.2",
44
"description": "Visual calendar for Strapi",
55
"strapi": {
66
"name": "calendar",

0 commit comments

Comments
 (0)