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

Showing correct icon on main table linked files column #6264

Merged
merged 7 commits into from
Apr 15, 2020
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public static LinkedFile fromFile(Path file, List<Path> fileDirectories, Externa
.getExternalFileTypeByExt(fileExtension)
.orElse(new UnknownExternalFileType(fileExtension));
Path relativePath = FileUtil.relativize(file, fileDirectories);
return new LinkedFile("", relativePath.toString(), suggestedFileType.getName());
return new LinkedFile("", relativePath.toString(), suggestedFileType.getExtension());
}

public LinkedFileViewModel fromFile(Path file) {
Expand Down