Even more reindenting

This commit is contained in:
root 2021-07-20 10:59:47 +05:30
parent 887690074d
commit d02641e802
No known key found for this signature in database
GPG key ID: BB51838571827D85
2 changed files with 34 additions and 33 deletions

View file

@ -25,24 +25,25 @@
</template>
<script>
import Navigation from "@/components/Navigation";
import Navigation from '@/components/Navigation'
export default {
components: {
Navigation,
Navigation
},
mounted () {
if (window.location.pathname === "/" || window.location.pathname.length == 0)
switch (this.getPreferenceString("homepage", "trending")) {
case "trending":
break;
case "feed":
this.$router.push("/feed");
return;
if (window.location.pathname === '/' || window.location.pathname.length == 0) {
switch (this.getPreferenceString('homepage', 'trending')) {
case 'trending':
break
case 'feed':
this.$router.push('/feed')
break
default:
break;
break
}
}
}
}
},
};
</script>
<style>

View file

@ -12,8 +12,8 @@ module.exports = {
importWorkboxFrom: 'local',
runtimeCaching: [{
urlPattern: /\.(?:png|svg|ico)$/,
handler: 'CacheFirst',
}],
handler: 'CacheFirst'
}]
}
}
}