-
+ :to="{
+ path: '/did/' + encodeURIComponent(record.recipientDid),
+ }"
+ title="More details about this person"
+ >
+
+
@@ -169,6 +210,7 @@
@@ -205,6 +247,7 @@ import EntityIcon from "./EntityIcon.vue";
import { isGiveClaimType, notifyWhyCannotConfirm } from "../libs/util";
import { containsHiddenDid, isHiddenDid } from "../libs/endorserServer";
import ProjectIcon from "./ProjectIcon.vue";
+import { NotificationIface } from "../constants/app";
@Component({
components: {
@@ -220,6 +263,31 @@ export default class ActivityListItem extends Vue {
@Prop() confirmerIdList?: string[];
isHiddenDid = isHiddenDid;
+ $notify!: (notification: NotificationIface, timeout?: number) => void;
+
+ notifyHiddenPerson() {
+ this.$notify(
+ {
+ group: "alert",
+ type: "warning",
+ title: "Hidden Person",
+ text: "This person is not visible to you.",
+ },
+ 3000
+ );
+ }
+
+ notifyUnknownPerson() {
+ this.$notify(
+ {
+ group: "alert",
+ type: "warning",
+ title: "Unknown Person",
+ text: "This person is not known.",
+ },
+ 3000
+ );
+ }
@Emit()
cacheImage(image: string) {