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

Make file field a link when it has a href #4174

Merged
merged 1 commit into from
Sep 20, 2017

Conversation

sktt
Copy link
Contributor

@sktt sktt commented Apr 3, 2017

If you have specified schema: { url: true } in your storage adapter, admin ui will now make the span into a link. If not, then it will just be a span like before.

Cheers

@sktt
Copy link
Contributor Author

sktt commented Apr 3, 2017

This fixes keystonejs/keystone#4055

- File may not have a href if url flag is not set in its schema
@sktt sktt force-pushed the bugfix/FileFieldLink branch from 24fbedf to ca4cf13 Compare June 17, 2017 00:36
@Noviny
Copy link
Contributor

Noviny commented Sep 20, 2017

@sktt Nice simple fix, thanks for this!

@Noviny Noviny merged commit fb31149 into keystonejs:master Sep 20, 2017
@sktt
Copy link
Contributor Author

sktt commented Sep 20, 2017

wooop nice to see u in action, @Noviny, I thought all members where long gone : D

@Noviny
Copy link
Contributor

Noviny commented Sep 20, 2017

Nup, we're still here =D

We're going to get a new beta out on Monday as well. Watch this space!

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.

2 participants