Code Monkey home page Code Monkey logo

segel's People

Contributors

dependabot[bot] avatar mikaeljorhult avatar muser83 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

segel's Issues

Unable to build locally

Hello! Good job with this component! Looks promising.

I'm having some issues because I'm trying to have a different grid than the standard 24 h with 48 steps. Instead I would like 14 days, and have full days as the step size. This is causing some issues with the bookings being offset.
image

I cloned the repo so I could debug it, but I cannot do npm run build
I get:

TypeError: Cannot read property 'name' of undefined

isEditable computed property of booking.vue component

Hello it would be interesting to choose from configuration of segel component, if a booking could be editable or not, even if it is a past date.

    isEditable: function() {
      // Check if bookings should be editable at all.
      if (!this.config.editable) {
        return false;
      }

      // Check if this specific booking is editable.
      if (!this.editable) {
        return false;
      }

      // Check if status isn't updating.
      if (this.status === "updating") {
        return false;
      }

      // Past and current bookings can't be edited.
      return this.start > this.time.current;
    },

Thank you

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.