Fix missing unarchive button

pull/62/head v2.1.1
Varun Patil 2022-09-25 16:31:21 -07:00
parent 646da55299
commit 0fc3db8e46
4 changed files with 8 additions and 5 deletions

View File

@ -34,7 +34,7 @@ The exact steps depend on your Nextcloud platform. If you use Docker for your Ne
- **MacOS**: `brew install exiftool`
- **FreeBSD**: `sudo pkg install p5-Image-ExifTool`
]]></description>
<version>2.1.0</version>
<version>2.1.1</version>
<licence>agpl</licence>
<author mail="radialapps@gmail.com" >Varun Patil</author>
<website>https://github.com/pulsejet/memories</website>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -507,7 +507,10 @@ export default class Timeline extends Mixins(GlobalMixin, UserConfig) {
/** Archive is allowed only on timeline routes */
allowArchive() {
return this.$route.name === 'timeline' || this.$route.name === 'favorites' || this.$route.name === 'videos';
return this.$route.name === 'timeline' ||
this.$route.name === 'favorites' ||
this.$route.name === 'videos' ||
this.$route.name === 'archive';
}
/** Is archive route */