Giter Club home page Giter Club logo

Comments (4)

greptile-apps avatar greptile-apps commented on August 18, 2024

To resolve the blank Kanban view issue after creation, follow these steps:

  1. Open frontend/src/components/views/KanbanView.js.
  2. Locate the function responsible for rendering the Kanban view, likely renderKanbanView.
  3. Add a conditional check to verify if the current ID exists in the list of IDs before proceeding with the rendering logic. For example:
if (!idList.includes(currentId)) {
  // Handle the case where the ID does not exist
  return <div>Invalid Kanban View ID</div>;
}
  1. Ensure that the ID list is correctly populated and passed to the component. This may involve checking the data fetching logic in frontend/src/hooks/useKanbanData.js.

  2. Save the changes and ensure the Kanban view renders correctly with valid IDs.

References

Edit Issue Bot Settings

from twenty.

Us3r-gitHub avatar Us3r-gitHub commented on August 18, 2024

At Select UI Component
Currently, there is a mechanism to set the label with the first data item.
Can we also implement this for setting the value too?

from twenty.

Bonapara avatar Bonapara commented on August 18, 2024

@Weiko any idea on this one too?

from twenty.

Us3r-gitHub avatar Us3r-gitHub commented on August 18, 2024

We can add a condition to set the ID in these lines.

However, I don't think it's the best approach to resolve the issue.

from twenty.

Related Issues (20)

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.