diff options
| author | Shpuld Shpuldson <shp@cock.li> | 2020-05-04 11:05:05 +0300 |
|---|---|---|
| committer | Shpuld Shpuldson <shp@cock.li> | 2020-05-04 11:05:05 +0300 |
| commit | 101eebb40be4dd87df83247e9db655c3cb135f48 (patch) | |
| tree | 043b1c06a078d0b845bc036a87165ac2568391b2 /src/components/moderation_tools/moderation_tools.js | |
| parent | 39e3917118293912b2af09f509457d718f0207c9 (diff) | |
| parent | 9b349b40196778abe1a2cdb1d241d4c9572d305c (diff) | |
Merge branch 'develop' into fix/signup-without-email
Diffstat (limited to 'src/components/moderation_tools/moderation_tools.js')
| -rw-r--r-- | src/components/moderation_tools/moderation_tools.js | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/components/moderation_tools/moderation_tools.js b/src/components/moderation_tools/moderation_tools.js index 757166ed..d4fdc53e 100644 --- a/src/components/moderation_tools/moderation_tools.js +++ b/src/components/moderation_tools/moderation_tools.js @@ -1,4 +1,5 @@ import DialogModal from '../dialog_modal/dialog_modal.vue' +import Popover from '../popover/popover.vue' const FORCE_NSFW = 'mrf_tag:media-force-nsfw' const STRIP_MEDIA = 'mrf_tag:media-strip' @@ -14,7 +15,6 @@ const ModerationTools = { ], data () { return { - showDropDown: false, tags: { FORCE_NSFW, STRIP_MEDIA, @@ -24,11 +24,13 @@ const ModerationTools = { SANDBOX, QUARANTINE }, - showDeleteUserDialog: false + showDeleteUserDialog: false, + toggled: false } }, components: { - DialogModal + DialogModal, + Popover }, computed: { tagsSet () { @@ -89,6 +91,9 @@ const ModerationTools = { window.history.back() } }) + }, + setToggled (value) { + this.toggled = value } } } |
