mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-24 03:53:08 +02:00
Clean up
This commit is contained in:
parent
fee0437493
commit
b357afa30a
4 changed files with 0 additions and 4 deletions
|
@ -118,7 +118,6 @@ export default Vue.extend({
|
||||||
fileType: image,
|
fileType: image,
|
||||||
excludeNsfw: !this.$store.state.device.alwaysShowNsfw,
|
excludeNsfw: !this.$store.state.device.alwaysShowNsfw,
|
||||||
limit: 9,
|
limit: 9,
|
||||||
untilDate: new Date().getTime() + 1000 * 86400 * 365
|
|
||||||
}).then(notes => {
|
}).then(notes => {
|
||||||
for (const note of notes) {
|
for (const note of notes) {
|
||||||
for (const file of note.files) {
|
for (const file of note.files) {
|
||||||
|
|
|
@ -46,7 +46,6 @@ export default Vue.extend({
|
||||||
fileType: image,
|
fileType: image,
|
||||||
excludeNsfw: !this.$store.state.device.alwaysShowNsfw,
|
excludeNsfw: !this.$store.state.device.alwaysShowNsfw,
|
||||||
limit: 9,
|
limit: 9,
|
||||||
untilDate: new Date().getTime() + 1000 * 86400 * 365
|
|
||||||
}).then(notes => {
|
}).then(notes => {
|
||||||
for (const note of notes) {
|
for (const note of notes) {
|
||||||
for (const file of note.files) {
|
for (const file of note.files) {
|
||||||
|
|
|
@ -23,7 +23,6 @@ export default Vue.extend({
|
||||||
mounted() {
|
mounted() {
|
||||||
this.$root.api('users/notes', {
|
this.$root.api('users/notes', {
|
||||||
userId: this.user.id,
|
userId: this.user.id,
|
||||||
untilDate: new Date().getTime() + 1000 * 86400 * 365
|
|
||||||
}).then(notes => {
|
}).then(notes => {
|
||||||
this.notes = notes;
|
this.notes = notes;
|
||||||
this.fetching = false;
|
this.fetching = false;
|
||||||
|
|
|
@ -37,7 +37,6 @@ export default Vue.extend({
|
||||||
fileType: image,
|
fileType: image,
|
||||||
excludeNsfw: !this.$store.state.device.alwaysShowNsfw,
|
excludeNsfw: !this.$store.state.device.alwaysShowNsfw,
|
||||||
limit: 9,
|
limit: 9,
|
||||||
untilDate: new Date().getTime() + 1000 * 86400 * 365
|
|
||||||
}).then(notes => {
|
}).then(notes => {
|
||||||
for (const note of notes) {
|
for (const note of notes) {
|
||||||
for (const file of note.files) {
|
for (const file of note.files) {
|
||||||
|
|
Loading…
Reference in a new issue