Skip to content

Commit

Permalink
Merge pull request #49 from offset-dev/develop
Browse files Browse the repository at this point in the history
v0.1.2
  • Loading branch information
LuisRodriguezLD authored Sep 20, 2024
2 parents e9e066f + 930bb5b commit 34894d2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js/16
- name: Use Node.js/18
uses: actions/setup-node@v1
with:
node-version: 16
node-version: 18
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js/16
- name: Use Node.js/18
uses: actions/setup-node@v1
with:
node-version: 16
node-version: 18
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
Expand Down
6 changes: 4 additions & 2 deletions admin/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ import moment from 'moment';

import {
Scheduler,
AllDayPanel,
DayView,
WeekView,
MonthView,
Expand Down Expand Up @@ -137,7 +138,7 @@ function HomePage() {
const primaryAction = settings.createButton ? (
<LinkButton
startIcon={<Plus />}
to={`/content-manager/collectionType/${settings.collection}/create`}
to={`/content-manager/collection-types/${settings.collection}/create`}
>
{formatMessage(
{ id: getTrad('view.calendar.action.create-entry'), defaultMessage: 'Create New' },
Expand Down Expand Up @@ -302,6 +303,7 @@ function HomePage() {
endDayHour={settings.endHour}
/>
<DayView startDayHour={settings.startHour} endDayHour={settings.endHour} />
<AllDayPanel />
<Appointments appointmentComponent={Appointment} />
</Scheduler>
</Box>
Expand All @@ -328,7 +330,7 @@ function Appointment({ children, style, ...restProps }) {
}

return (
<Link to={`/content-manager/collectionType/${settings.collection}/${id}`}>
<Link to={`/content-manager/collection-types/${settings.collection}/${id}`}>
<Appointments.Appointment
{...restProps}
style={{
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@offset-dev/strapi-calendar",
"version": "0.1.1",
"version": "0.1.2",
"description": "Visual calendar for Strapi",
"strapi": {
"name": "calendar",
Expand Down

0 comments on commit 34894d2

Please sign in to comment.