Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Matías García Isaía <[email protected]>
  • Loading branch information
ismaelbej and matiasgarciaisaia authored Nov 21, 2024
1 parent 1f38a00 commit cd2ead7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/js/components/channels/ProviderModal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const ProviderModal = ({
{loading ? <span>{t("Searching active surveys...")}</span> :
surveys.length == 0 ? <span>{t("No active surveys")}</span> :
<div>
<span>{t("Active surveys")}</span>
<span>{t("These surveys are active, using channels from this provider. Deleting the channels will interrupt the surveys.")}</span>
<ul>
{surveys.map((survey) => (
<li key={`survey-${survey.id}`}>
Expand Down
2 changes: 1 addition & 1 deletion lib/ask/survey.ex
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ defmodule Ask.Survey do
%{survey | down_channels: down_channels}
end

def with_active_channel(provider, base_url) do
def with_active_channels(provider, base_url) do
query =
from s in Survey,
where: s.state == :running,
Expand Down

0 comments on commit cd2ead7

Please sign in to comment.