- Gallery: added deleting images.

This commit is contained in:
Paolo Arena
2019-12-28 02:17:07 +01:00
parent 98dd8ec0ca
commit 05dc45a3c5
6 changed files with 116 additions and 34 deletions

View File

@@ -2843,6 +2843,10 @@ export const tools = {
return [{ name: 'x-auth', value: UserStore.state.x_auth_token }]
},
getextfile(filename) {
return filename.split('.').pop().toLowerCase()
},
getelembylang(arr) {
const mylang = toolsext.getLocale()
for (const elem in arr) {