1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 23:20:51 +00:00

12.0 change some icons (#6278)

* 01 history back icon

* 02 change download icons

* 03 fix code format

* 04 change copy icons

* 05 tree icon more color

* change icon
This commit is contained in:
Michael An
2024-07-01 18:33:57 +08:00
committed by GitHub
parent fe069045a2
commit d0faafbfba
15 changed files with 34 additions and 35 deletions

View File

@@ -18,8 +18,8 @@ class MetadataManagerAPI {
}
initForSeahubUsage({ siteRoot, xcsrfHeaders }) {
if (siteRoot && siteRoot.charAt(siteRoot.length-1) === '/') {
var server = siteRoot.substring(0, siteRoot.length-1);
if (siteRoot && siteRoot.charAt(siteRoot.length - 1) === '/') {
var server = siteRoot.substring(0, siteRoot.length - 1);
this.server = server;
} else {
this.server = siteRoot;