don't store history if cd to same path

This commit is contained in:
joshuaboud 2022-05-17 12:56:58 -03:00
parent d1846ffe0b
commit db128a99e8
No known key found for this signature in database
GPG Key ID: 17EFB59E2A8BF50E

View File

@ -64,7 +64,7 @@
<div <div
class="p-1 md:px-4 md:py-2 col-start-1 col-end-3 row-start-2 row-end-3 md:col-start-auto md:col-end-auto md:row-start-auto md:row-end-auto" class="p-1 md:px-4 md:py-2 col-start-1 col-end-3 row-start-2 row-end-3 md:col-start-auto md:col-end-auto md:row-start-auto md:row-end-auto"
> >
<PathBreadCrumbs :path="pathHistory.current() ?? '/'" @cd="newPath => cd(newPath)" /> <PathBreadCrumbs :path="pathHistory.current() ?? '/'" @cd="newPath => cd(newPath, newPath !== pathHistory.current())" />
</div> </div>
<div class="p-1 md:px-4 md:py-2"> <div class="p-1 md:px-4 md:py-2">