2021-08-07 03:55:16 -05:00
|
|
|
<template>
|
|
|
|
<div class="geegznzt">
|
|
|
|
<XAntenna :antenna="draft" @created="onAntennaCreated"/>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts">
|
|
|
|
import { defineComponent } from 'vue';
|
2021-11-11 11:02:25 -06:00
|
|
|
import MkButton from '@/components/ui/button.vue';
|
2021-08-07 03:55:16 -05:00
|
|
|
import XAntenna from './editor.vue';
|
2021-11-11 11:02:25 -06:00
|
|
|
import * as symbols from '@/symbols';
|
2021-08-07 03:55:16 -05:00
|
|
|
|
|
|
|
export default defineComponent({
|
|
|
|
components: {
|
|
|
|
MkButton,
|
|
|
|
XAntenna,
|
|
|
|
},
|
|
|
|
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
[symbols.PAGE_INFO]: {
|
|
|
|
title: this.$ts.manageAntennas,
|
|
|
|
icon: 'fas fa-satellite',
|
|
|
|
},
|
|
|
|
draft: {
|
|
|
|
name: '',
|
|
|
|
src: 'all',
|
|
|
|
userListId: null,
|
|
|
|
userGroupId: null,
|
|
|
|
users: [],
|
|
|
|
keywords: [],
|
|
|
|
excludeKeywords: [],
|
|
|
|
withReplies: false,
|
|
|
|
caseSensitive: false,
|
|
|
|
withFile: false,
|
|
|
|
notify: false
|
|
|
|
},
|
|
|
|
};
|
|
|
|
},
|
|
|
|
|
|
|
|
methods: {
|
|
|
|
onAntennaCreated() {
|
|
|
|
this.$router.push('/my/antennas');
|
|
|
|
},
|
|
|
|
}
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
|
|
|
|
</style>
|