diff --git a/packages/presentation/src/components/UserBox.svelte b/packages/presentation/src/components/UserBox.svelte index 9f8861424c..c110eb1be1 100644 --- a/packages/presentation/src/components/UserBox.svelte +++ b/packages/presentation/src/components/UserBox.svelte @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. --> + - + diff --git a/plugins/recruit-resources/src/components/CreateCandidates.svelte b/plugins/recruit-resources/src/components/CreateCandidates.svelte index eec8a8512d..f98aceffe2 100644 --- a/plugins/recruit-resources/src/components/CreateCandidates.svelte +++ b/plugins/recruit-resources/src/components/CreateCandidates.svelte @@ -27,6 +27,10 @@ let name: string = '' let description: string = '' + export function canClose(): boolean { + return name === '' + } + const client = getClient() function createCandidates() { @@ -47,7 +51,6 @@ > - diff --git a/plugins/recruit-resources/src/components/CreateVacancy.svelte b/plugins/recruit-resources/src/components/CreateVacancy.svelte index a7cea29f65..a023fe50b6 100644 --- a/plugins/recruit-resources/src/components/CreateVacancy.svelte +++ b/plugins/recruit-resources/src/components/CreateVacancy.svelte @@ -30,6 +30,10 @@ let name: string = '' let description: string = '' + export function canClose(): boolean { + return name === '' + } + const client = getClient() const colors = [