mirror of
				https://github.com/TeamPiped/Piped.git
				synced 2025-10-31 20:51:55 +00:00 
			
		
		
		
	use optional chaining
This commit is contained in:
		| @@ -37,8 +37,8 @@ export default { | ||||
|     methods: { | ||||
|         async fetchConfig() { | ||||
|             this.fetchJson("confg.json").then(config => { | ||||
|                 this.donationHref = config.donation_href; | ||||
|                 this.statusPageHref = config.status_page_href; | ||||
|                 this.donationHref = config?.donation_href; | ||||
|                 this.statusPageHref = config?.status_page_href; | ||||
|             }); | ||||
|         }, | ||||
|     }, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Bnyro
					Bnyro