clean up
This commit is contained in:
		| @@ -106,10 +106,6 @@ export default defineComponent({ | ||||
| 		} | ||||
| 	}, | ||||
|  | ||||
| 	mounted() { | ||||
| 		this.$emit('info', this[symbols.PAGE_INFO]); | ||||
| 	}, | ||||
|  | ||||
| 	methods: { | ||||
| 		acct, | ||||
|  | ||||
|   | ||||
| @@ -87,10 +87,6 @@ export default defineComponent({ | ||||
| 		}); | ||||
| 	}, | ||||
|  | ||||
| 	mounted() { | ||||
| 		this.$emit('info', this[symbols.PAGE_INFO]); | ||||
| 	}, | ||||
|  | ||||
| 	methods: { | ||||
| 		add() { | ||||
| 			this.ads.unshift({ | ||||
|   | ||||
| @@ -61,10 +61,6 @@ export default defineComponent({ | ||||
| 		}); | ||||
| 	}, | ||||
|  | ||||
| 	mounted() { | ||||
| 		this.$emit('info', this[symbols.PAGE_INFO]); | ||||
| 	}, | ||||
|  | ||||
| 	methods: { | ||||
| 		add() { | ||||
| 			this.announcements.unshift({ | ||||
|   | ||||
| @@ -82,10 +82,6 @@ export default defineComponent({ | ||||
| 		} | ||||
| 	}, | ||||
|  | ||||
| 	async mounted() { | ||||
| 		this.$emit('info', this[symbols.PAGE_INFO]); | ||||
| 	}, | ||||
|  | ||||
| 	methods: { | ||||
| 		async init() { | ||||
| 			const meta = await os.api('meta', { detail: true }); | ||||
|   | ||||
| @@ -37,10 +37,6 @@ export default defineComponent({ | ||||
| 		} | ||||
| 	}, | ||||
|  | ||||
| 	mounted() { | ||||
| 		this.$emit('info', this[symbols.PAGE_INFO]); | ||||
| 	}, | ||||
|  | ||||
| 	methods: { | ||||
| 		bytes, number, | ||||
| 	} | ||||
|   | ||||
| @@ -93,10 +93,6 @@ export default defineComponent({ | ||||
| 		} | ||||
| 	}, | ||||
|  | ||||
| 	async mounted() { | ||||
| 		this.$emit('info', this[symbols.PAGE_INFO]); | ||||
| 	}, | ||||
|  | ||||
| 	methods: { | ||||
| 		async init() { | ||||
| 			const meta = await os.api('meta', { detail: true }); | ||||
|   | ||||
| @@ -106,10 +106,6 @@ export default defineComponent({ | ||||
| 		} | ||||
| 	}, | ||||
|  | ||||
| 	mounted() { | ||||
| 		this.$emit('info', this[symbols.PAGE_INFO]); | ||||
| 	}, | ||||
|  | ||||
| 	methods: { | ||||
| 		clear() { | ||||
| 			os.confirm({ | ||||
|   | ||||
| @@ -40,10 +40,6 @@ export default defineComponent({ | ||||
| 		} | ||||
| 	}, | ||||
|  | ||||
| 	async mounted() { | ||||
| 		this.$emit('info', this[symbols.PAGE_INFO]); | ||||
| 	}, | ||||
|  | ||||
| 	methods: { | ||||
| 		async init() { | ||||
| 			const meta = await os.api('meta', { detail: true }); | ||||
|   | ||||
| @@ -58,10 +58,6 @@ export default defineComponent({ | ||||
| 		} | ||||
| 	}, | ||||
|  | ||||
| 	async mounted() { | ||||
| 		this.$emit('info', this[symbols.PAGE_INFO]); | ||||
| 	}, | ||||
|  | ||||
| 	methods: { | ||||
| 		async init() { | ||||
| 			const meta = await os.api('meta', { detail: true }); | ||||
|   | ||||
| @@ -58,10 +58,6 @@ export default defineComponent({ | ||||
| 		} | ||||
| 	}, | ||||
|  | ||||
| 	async mounted() { | ||||
| 		this.$emit('info', this[symbols.PAGE_INFO]); | ||||
| 	}, | ||||
|  | ||||
| 	methods: { | ||||
| 		async init() { | ||||
| 			const meta = await os.api('meta', { detail: true }); | ||||
|   | ||||
| @@ -58,10 +58,6 @@ export default defineComponent({ | ||||
| 		} | ||||
| 	}, | ||||
|  | ||||
| 	async mounted() { | ||||
| 		this.$emit('info', this[symbols.PAGE_INFO]); | ||||
| 	}, | ||||
|  | ||||
| 	methods: { | ||||
| 		async init() { | ||||
| 			const meta = await os.api('meta', { detail: true }); | ||||
|   | ||||
| @@ -60,10 +60,6 @@ export default defineComponent({ | ||||
| 		} | ||||
| 	}, | ||||
|  | ||||
| 	async mounted() { | ||||
| 		this.$emit('info', this[symbols.PAGE_INFO]); | ||||
| 	}, | ||||
|  | ||||
| 	methods: { | ||||
| 		async init() { | ||||
| 			const meta = await os.api('meta', { detail: true }); | ||||
|   | ||||
| @@ -118,10 +118,6 @@ export default defineComponent({ | ||||
| 		} | ||||
| 	}, | ||||
|  | ||||
| 	async mounted() { | ||||
| 		this.$emit('info', this[symbols.PAGE_INFO]); | ||||
| 	}, | ||||
|  | ||||
| 	methods: { | ||||
| 		async init() { | ||||
| 			const meta = await os.api('meta', { detail: true }); | ||||
|   | ||||
| @@ -42,10 +42,6 @@ export default defineComponent({ | ||||
| 		} | ||||
| 	}, | ||||
|  | ||||
| 	async mounted() { | ||||
| 		this.$emit('info', this[symbols.PAGE_INFO]); | ||||
| 	}, | ||||
|  | ||||
| 	methods: { | ||||
| 		async init() { | ||||
| 			const meta = await os.api('meta', { detail: true }); | ||||
|   | ||||
| @@ -116,8 +116,6 @@ export default defineComponent({ | ||||
| 	}, | ||||
|  | ||||
| 	async mounted() { | ||||
| 		this.$emit('info', this[symbols.PAGE_INFO]); | ||||
|  | ||||
| 		os.api('meta', { detail: true }).then(meta => { | ||||
| 			this.meta = meta; | ||||
| 		}); | ||||
|   | ||||
| @@ -44,10 +44,6 @@ export default defineComponent({ | ||||
| 		} | ||||
| 	}, | ||||
|  | ||||
| 	async mounted() { | ||||
| 		this.$emit('info', this[symbols.PAGE_INFO]); | ||||
| 	}, | ||||
|  | ||||
| 	methods: { | ||||
| 		async init() { | ||||
| 			const meta = await os.api('meta', { detail: true }); | ||||
|   | ||||
| @@ -38,8 +38,6 @@ export default defineComponent({ | ||||
| 	}, | ||||
|  | ||||
| 	mounted() { | ||||
| 		this.$emit('info', this[symbols.PAGE_INFO]); | ||||
|  | ||||
| 		this.$nextTick(() => { | ||||
| 			this.connection.send('requestLog', { | ||||
| 				id: Math.random().toString().substr(2, 8), | ||||
|   | ||||
| @@ -48,10 +48,6 @@ export default defineComponent({ | ||||
| 		this.refresh(); | ||||
| 	}, | ||||
|  | ||||
| 	mounted() { | ||||
| 		this.$emit('info', this[symbols.PAGE_INFO]); | ||||
| 	}, | ||||
|  | ||||
| 	methods: { | ||||
| 		async addRelay() { | ||||
| 			const { canceled, result: inbox } = await os.inputText({ | ||||
|   | ||||
| @@ -70,10 +70,6 @@ export default defineComponent({ | ||||
| 		} | ||||
| 	}, | ||||
|  | ||||
| 	async mounted() { | ||||
| 		this.$emit('info', this[symbols.PAGE_INFO]); | ||||
| 	}, | ||||
|  | ||||
| 	methods: { | ||||
| 		async init() { | ||||
| 			const meta = await os.api('meta', { detail: true }); | ||||
|   | ||||
| @@ -197,10 +197,6 @@ export default defineComponent({ | ||||
| 		} | ||||
| 	}, | ||||
|  | ||||
| 	async mounted() { | ||||
| 		this.$emit('info', this[symbols.PAGE_INFO]); | ||||
| 	}, | ||||
|  | ||||
| 	methods: { | ||||
| 		async init() { | ||||
| 			const meta = await os.api('meta', { detail: true }); | ||||
|   | ||||
| @@ -124,10 +124,6 @@ export default defineComponent({ | ||||
| 		} | ||||
| 	}, | ||||
|  | ||||
| 	async mounted() { | ||||
| 		this.$emit('info', this[symbols.PAGE_INFO]); | ||||
| 	}, | ||||
|  | ||||
| 	methods: { | ||||
| 		lookupUser, | ||||
|  | ||||
|   | ||||
| @@ -155,10 +155,6 @@ export default defineComponent({ | ||||
| 		} | ||||
| 	}, | ||||
|  | ||||
| 	mounted() { | ||||
| 		this.$emit('info', this[symbols.PAGE_INFO]); | ||||
| 	}, | ||||
|  | ||||
| 	methods: { | ||||
| 		getStatus(instance) { | ||||
| 			if (instance.isSuspended) return 'suspended'; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 syuilo
					syuilo