|
@@ -443,7 +443,6 @@ export default {
|
443
|
443
|
},
|
444
|
444
|
mounted() {
|
445
|
445
|
this.getCampaign(this.$route.params.id);
|
446
|
|
-
|
447
|
446
|
this.wait = false;
|
448
|
447
|
if (this.$route.params.id > 0) {
|
449
|
448
|
this.isNew = false;
|
|
@@ -452,7 +451,7 @@ export default {
|
452
|
451
|
computed: {
|
453
|
452
|
...mapState("campaign", ["campaign", "campaignPlaceHolders", "campaignItems"]),
|
454
|
453
|
checkAccess() {
|
455
|
|
- if (Log.getUser().role === "Super Admin") {
|
|
454
|
+ if (Log.getUser().role === "Super Admin" || Log.getUser().role === "Designer") {
|
456
|
455
|
return true;
|
457
|
456
|
} else {
|
458
|
457
|
return false;
|