iutbay/mm

Hi,i've installed your great application, but i found one bug. After changing folder, ajax response stays the same

miklblitz opened this issue · 3 comments

Hi,i've installed your great application, but i found one bug. After changing folder, ajax response stays the same

see the picture
https://yadi.sk/i/hQ8MGnqm3WTbxR

I installed:
$ git clone https://github.com/iutbay/mm.git
$ cd mm
$ npm install
$ npm run build
and run dev mode
$ npm run dev

I have the same problem, seems like the path parameter somehow gets lost when you click on a folder, but it works fine in the demo.

Hi there,after a bit of debugging I have found this inside api.js and seems to fix the problem:

list(path) {
//return this.axios.get(this.options.listUrl, { params: { 'path': this.path } });
return this.axios.get(this.options.listUrl, { params: { 'path': path } });
}

Commented is the original line.