mirror of
https://github.com/mattermost/focalboard.git
synced 2025-01-11 18:13:52 +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
|
var filePath string
|
||||||
|
|
||||||
if fileInfo != nil && fileInfo.Path != "" {
|
if fileInfo != nil && fileInfo.Path != "" && fileInfo.Path != emptyString {
|
||||||
filePath = fileInfo.Path
|
filePath = fileInfo.Path
|
||||||
} else {
|
} else {
|
||||||
filePath = filepath.Join(teamID, rootID, fileName)
|
filePath = filepath.Join(teamID, rootID, fileName)
|
||||||
|
Loading…
Reference in New Issue
Block a user