Explorar o código

Update ContextMenu component, fix account url paths

Daniel Supernault %!s(int64=3) %!d(string=hai) anos
pai
achega
01ca1edd84
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      resources/assets/js/components/partials/ContextMenu.vue

+ 2 - 2
resources/assets/js/components/partials/ContextMenu.vue

@@ -636,7 +636,7 @@
 			},
 
 			statusUrl(status) {
-				if(status.local == true) {
+				if(status.account.local == true) {
 					return status.url;
 				}
 
@@ -644,7 +644,7 @@
 			},
 
 			profileUrl(status) {
-				if(status.local == true) {
+				if(status.account.local == true) {
 					return status.account.url;
 				}