Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(dash) :: Project Tree Component #254

Closed
wants to merge 9 commits into from

Conversation

diogommartins
Copy link
Contributor

@diogommartins diogommartins commented Nov 22, 2022

Screen Shot 2022-11-21 at 21 17 59

from amora.config import settings


def _make_tree(root: Path) -> dict:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrigi a implementação da listagem de modelos aqui, @lemosflavio @devshy

Comment on lines +15 to +27
"children": [
{
"key": str(label),
"title": str(label),
"disabled": True,
"children": [
{
"key": path.as_posix(),
"title": path.name,
"icon": "antd-file",
}
for model, path in models
],
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"children": [
{
"key": str(label),
"title": str(label),
"disabled": True,
"children": [
{
"key": path.as_posix(),
"title": path.name,
"icon": "antd-file",
}
for model, path in models
],
"children": [],

@thulio thulio closed this May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants