mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 10:25:52 +02:00
fix(configs): spinning constantly in table if dir has no file
This commit is contained in:
parent
2d6fa63964
commit
b9c7d1d001
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ func GetConfigs(c *gin.Context) {
|
|||
return
|
||||
}
|
||||
|
||||
var configs []config.Config
|
||||
configs := make([]config.Config, 0)
|
||||
|
||||
for i := range configFiles {
|
||||
file := configFiles[i]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue