     show_results:
       name: 'poll_common_card.show_results'
       canPerform: ->
-        poll.closingAt && !poll.hideResultsUntilClosed && !poll.showResults()
+        !poll.discardedAt && poll.closingAt && !poll.hideResultsUntilClosed && !poll.showResults()
       perform: ->
         poll.pleaseShowResults = true
 
     hide_results:
       name: 'poll_common_card.hide_results'
       canPerform: ->
-        poll.showResults() && !poll.closedAt && !poll.iHaveVoted()
+        !poll.discardedAt && poll.showResults() && !poll.closedAt && !poll.iHaveVoted()
       perform: ->
         poll.pleaseShowResults = false
 

          component: 'AnnouncementHistory'
          props:
            model: poll
      canPerform: -> true

    announce_poll:
      icon: 'mdi-send'

    show_history:
      icon: 'mdi-history'
      name: 'action_dock.show_edits'
      canPerform: -> !poll.discardedAt && poll.edited()
      perform: ->
        openModal
          component: 'RevisionHistoryModal'
