New Gallery: create directory if doesn't exist!#120

This commit is contained in:
Paolo Arena
2019-12-28 14:30:51 +01:00
parent 05dc45a3c5
commit 8beb8162dd
6 changed files with 11 additions and 8 deletions

View File

@@ -705,7 +705,7 @@ namespace Actions {
}
async function saveFieldValue(context, mydata: IDataPass) {
console.log('saveFieldValue', mydata)
// console.log('saveFieldValue', mydata)
return await Api.SendReq(`/chval`, 'PATCH', { data: mydata })
.then((res) => {
@@ -830,6 +830,7 @@ namespace Actions {
for (const page of state.mypage) {
if (page.active) {
arrpagesroute.push({
active: true,
path: '/' + page.path,
name: undefined,
text: page.title,
@@ -844,6 +845,7 @@ namespace Actions {
}
const last = {
active: true,
path: '*',
materialIcon: 'fas fa-calendar-plus',
name: 'otherpages.error404def',