mirror of
https://github.com/mattermost/focalboard.git
synced 2024-12-21 13:38:56 +02:00
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
This commit is contained in:
parent
8020b19f31
commit
22cdd82131
@ -97,7 +97,7 @@ func (a *App) GetFile(teamID, rootID, fileName string) (*mmModel.FileInfo, files
|
||||
|
||||
var filePath string
|
||||
|
||||
if fileInfo != nil && fileInfo.Path != "" {
|
||||
if fileInfo != nil && fileInfo.Path != "" && fileInfo.Path != emptyString {
|
||||
filePath = fileInfo.Path
|
||||
} else {
|
||||
filePath = filepath.Join(teamID, rootID, fileName)
|
||||
|
Loading…
Reference in New Issue
Block a user