Skip to content

Commit

Permalink
[plasmic] Sync project Opium
Browse files Browse the repository at this point in the history
This is an automated commit generated by Amirhossein beigi
using Plasmic (https://plasmic.app/).

Project name: Opium
Project URL: https://studio.plasmic.app/projects/rqmTJ9WSF4RQaQFCvo2iUX
  • Loading branch information
plasmicops committed May 13, 2024
1 parent 33f7ca1 commit 8e86708
Show file tree
Hide file tree
Showing 7 changed files with 1,923 additions and 726 deletions.
8 changes: 6 additions & 2 deletions .plasmic/plasmic/opium/PlasmicWorkhours.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,11 @@ function PlasmicWorkhours__RenderFunc(props) {
const options = [];
const initialHour = currentItem.from.split(":")[0];
const initialMinute = currentItem.from.split(":")[1];
for (let i = 1; i <= 24; i++) {
for (
let i = 1;
options[options.length] != "23:59";
i++
) {
const totalMinutes =
initialHour * 60 +
initialMinute * 1 +
Expand Down Expand Up @@ -530,7 +534,7 @@ function PlasmicWorkhours__RenderFunc(props) {
return (() => {
const duration = 5;
const options = [];
const initialHour = 17;
const initialHour = 0;
for (let i = 0; i < 288; i++) {
const totalMinutes =
initialHour * 60 + i * duration;
Expand Down
Loading

0 comments on commit 8e86708

Please sign in to comment.