Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatalia Tepluhina <ntepluhina@gitlab.com>2019-05-01 15:58:52 +0300
committerPhil Hughes <me@iamphill.com>2019-05-01 15:58:52 +0300
commit5a5d52feefff0b5f93be00a0fff629a5da702834 (patch)
tree95140bd0355441a4d302316de73f1d8afbd74d69 /app/assets/javascripts/batch_comments
parente6665c2ebbb61f55c871c9681402118a063c9342 (diff)
Resolve "Move EE differences for `app/assets/javascripts/notes/components/note_actions.vue`"
Diffstat (limited to 'app/assets/javascripts/batch_comments')
-rw-r--r--app/assets/javascripts/batch_comments/mixins/resolved_status.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/assets/javascripts/batch_comments/mixins/resolved_status.js b/app/assets/javascripts/batch_comments/mixins/resolved_status.js
new file mode 100644
index 00000000000..20c31d9f8a4
--- /dev/null
+++ b/app/assets/javascripts/batch_comments/mixins/resolved_status.js
@@ -0,0 +1,13 @@
+export default {
+ computed: {
+ resolveButtonTitle() {
+ let title = 'Mark as resolved';
+
+ if (this.resolvedBy) {
+ title = `Resolved by ${this.resolvedBy.name}`;
+ }
+
+ return title;
+ },
+ },
+};