diff --git a/src/components/FaceEditModal.vue b/src/components/FaceEditModal.vue
new file mode 100644
index 00000000..10aa811b
--- /dev/null
+++ b/src/components/FaceEditModal.vue
@@ -0,0 +1,105 @@
+
+
+
+
+
+ {{ t('memories', 'Rename person') }}
+
+
+
+
+
+
+
+
+ {{ t('memories', 'Update') }}
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/FaceTopMatter.vue b/src/components/FaceTopMatter.vue
index ec9f5594..ddf57080 100644
--- a/src/components/FaceTopMatter.vue
+++ b/src/components/FaceTopMatter.vue
@@ -6,7 +6,19 @@
- {{ name }}
+
+
{{ name }}
+
+
+
+
+ {{ t('memories', 'Rename person') }}
+
+
+
+
+
+
@@ -15,17 +27,22 @@ import { Component, Mixins, Watch } from 'vue-property-decorator';
import GlobalMixin from '../mixins/GlobalMixin';
import { NcActions, NcActionButton } from '@nextcloud/vue';
+import FaceEditModal from './FaceEditModal.vue';
import BackIcon from 'vue-material-design-icons/ArrowLeft.vue';
+import EditIcon from 'vue-material-design-icons/Pencil.vue';
@Component({
components: {
NcActions,
NcActionButton,
+ FaceEditModal,
BackIcon,
+ EditIcon,
},
})
export default class FaceTopMatter extends Mixins(GlobalMixin) {
private name: string = '';
+ private showEditModal: boolean = false;
@Watch('$route')
async routeChange(from: any, to: any) {
@@ -48,16 +65,23 @@ export default class FaceTopMatter extends Mixins(GlobalMixin) {
\ No newline at end of file