Merge pull request #271 from nakazawakan/bugfix-line-message

子のLINE招待機能に不要なメッセージが入っていた
このコミットが含まれているのは:
chankan77 2022-01-16 10:15:12 -05:00 committed by GitHub
コミット cc66c2533b
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: 4AEE18F83AFDEB23
3個のファイルの変更1985行の追加1986行の削除

ファイルの表示

@ -12897,7 +12897,7 @@ categories: [project]
@font-face {
font-family: "iconfont";
src: url(/fonts/iconfont.eot?9bd2f8e21fb68f3cb69f306c7a5a07d2);
src: url(/fonts/iconfont.eot?9bd2f8e21fb68f3cb69f306c7a5a07d2) format("eot"), url(/fonts/iconfont.woff?72290a51f520574be856b3621acc29a1) format("woff"), url(/fonts/iconfont.ttf?e240ce427caf7549e576c77b39a1d3f1) format("truetype"), url(/fonts/iconfont.svg?9e48c54f8bbb472c1c286234fdd6636f) format("svg");
src: url(/fonts/iconfont.eot?9bd2f8e21fb68f3cb69f306c7a5a07d2) format("eot"), url(/fonts/iconfont.woff?72290a51f520574be856b3621acc29a1) format("woff"), url(/fonts/iconfont.ttf?e240ce427caf7549e576c77b39a1d3f1) format("truetype"), url(/fonts/iconfont.svg?d812f238f7ec32f5cb5ebd322f320a02) format("svg");
font-weight: normal;
font-style: normal;
}

3958
backend/public/js/app.js vendored

ファイル差分が大きすぎるため省略します 差分を読み込み

ファイルの表示

@ -9,9 +9,9 @@ import copy from 'copy-to-clipboard';
const ParentChildAdd = () => {
const [notice, setNotice] = useState(localStorage.getItem('notice'));
const father_id = localStorage.getItem('kiki_acc_id');
const [loaded, setLoaded] = useState(true);
const [identity, setIdentity] = useState('');
const [_success, setSuccess] = useState('');
const [_400error, set400Error] = useState('');
@ -65,8 +65,7 @@ const ParentChildAdd = () => {
'※スマホ本体を最新の状態にアップデートしてからURLをクリックしてください。' + '\n\n' +
inviteurl + '\n\n' +
'▼公式サイトはこちら' + '\n' +
'https://kikikan.jp' + '\n\n' +
'idの箇所は親のidを引っ張るようお願い致します。';
'https://kikikan.jp';
if(!copy(sentence, {debug: true})){
set400Error('コピー失敗しました。');
return;
@ -76,7 +75,7 @@ const ParentChildAdd = () => {
axios.get('/api/fathers/relations/check')
.then(response=>{
if(isMountedRef.current) return;
switch(response.data.status_code){
case 200: {
if(type == "invite") setSuccess('招待用URLをコピーしました。');
@ -110,7 +109,7 @@ const ParentChildAdd = () => {
set400Error('コピー失敗しました。');
}
}
const copyLineText = () => {
const inviteUrl = document.getElementById('inviteurl_html').value;