Fixed URL previews in ad settings

This commit is contained in:
Mr. Stallion 2020-10-24 15:57:49 -05:00
parent c28a88fe80
commit 216c4885f0
1 changed files with 4 additions and 3 deletions

View File

@ -8,8 +8,8 @@
<a @click="removeAd(index)" title="Remove Ad"><i class="fas fa-times-circle"></i></a>
</label>
<bbcode-editor :id="'ad' + conversation.key + '-' + index" v-model="ads[index]" :hasToolbar="true" class="form-control">
</bbcode-editor>
<editor :id="'ad' + conversation.key + '-' + index" v-model="ads[index]" :hasToolbar="true" class="form-control">
</editor>
</div>
<button class="btn btn-outline-secondary" @click="addAd()">Add Another</button>
@ -22,9 +22,10 @@
import Modal from '../../components/Modal.vue';
import {Conversation} from '../interfaces';
import l from '../localize';
import {Editor} from '../bbcode';
@Component({
components: {modal: Modal}
components: {modal: Modal, editor: Editor}
})
export default class ConversationAdSettings extends CustomDialog {
@Prop({required: true})