Skip to content

Commit

Permalink
cleanup(ZMS-3415): remove invalid text instruction for graph view ope…
Browse files Browse the repository at this point in the history
…ning hours
  • Loading branch information
ThomasAFink committed Nov 21, 2024
1 parent 5aa9d6b commit fb7efb7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion zmsadmin/js/page/availabilityDay/timetable/graphview.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ const GraphView = (props) => {
headerRight={constants.headerRight(props.links, props.onNewAvailability)}
headerMiddle={constants.headerMiddle()}
body={graphBody}
footer={constants.renderFooter()}
/>

</>
Expand Down
4 changes: 1 addition & 3 deletions zmsadmin/js/page/availabilityDay/timetable/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,4 @@ export const renderAppointments = (items, maxWorkstationCount, onSelect) => {ret

export const renderOpenings = (items, onSelect) => {return items
.filter(item => item.type === "openinghours")
.map((data, key) => <OpeningTimebar key={key} {...{ key, data, onSelect }} />)}

export const renderFooter = () => {return <small>Zum Bearbeiten einer Öffnungszeit, bitte auf den entsprechenden blauen oder grünen Zeitstrahl klicken.</small>}
.map((data, key) => <OpeningTimebar key={key} {...{ key, data, onSelect }} />)}

0 comments on commit fb7efb7

Please sign in to comment.